Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'url:sourceforge': 0.03; 'interpreter': 0.05; 'subject:Python': 0.06; 'interpreted': 0.09; 'python': 0.11; 'backwards': 0.16; 'clone': 0.16; 'coerced': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'sad': 0.16; 'sadly': 0.16; 'sure.': 0.16; 'troll': 0.16; 'variables,': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'wed,': 0.18; 'written': 0.21; 'programming': 0.22; 'rules': 0.22; 'header:User-Agent:1': 0.23; 'certainly': 0.24; 'him.': 0.24; 'initial': 0.24; "haven't": 0.24; 'header:In-Reply-To:1': 0.27; '[1]': 0.29; 'dec': 0.30; 'programming.': 0.30; "i'm": 0.30; 'code': 0.31; 'mid': 0.31; 'style': 0.33; 'maybe': 0.34; 'basic': 0.35; 'executing': 0.36; 'impression': 0.36; 'should': 0.36; 'experience,': 0.37; 'message- id:@gmail.com': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'structure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'guy': 0.60; 'is.': 0.60; 'email addr:gmail.com': 0.63; 'real': 0.63; 'more': 0.64; 'obvious': 0.74; 'actually,': 0.84; 'flag.': 0.84; 'language!': 0.84; 'tended': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Wed, 03 Dec 2014 21:11:19 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python handles globals badly. References: <8hIfw.85083$c94.38058@fx21.am4> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417666306 news.xs4all.nl 2880 [2001:888:2000:d::a6]:56832 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81882 On 12/03/2014 08:57 PM, Dennis Lee Bieber wrote: > On Wed, 3 Dec 2014 10:16:18 -0800 (PST), sohcahtoa82@gmail.com declaimed > the following: > > >> >> I'm surprised other people haven't picked up on how obvious of a troll this "Skybuck Flying" guy is. He claims 20 years programming experience, then uses an absurd amount of globals, many of which are related, without using a data structure of some kind. >> > My initial impression is of 20 years of Kemeny&Kurtz BASIC... Of the > 70s... with everything global. BASIC was slow in changing, that's for sure. I have used BASIC a lot over the years, and it's been highly structured with modern scoping rules since about the mid 80s. Certainly Borland's Turbo BASIC provided real functions and subroutines, private variables, block structures, etc. Sadly BASIC dialects tended to try to maintain backwards compatibility so even modern dialects like FreeBASIC can be coerced into executing spaghetti code. Sad that the OP is stuck in this style of programming. Whatever works for him. Maybe instead of Python he should use FreeBASIC with the -lang qb flag. Actually, more appropriate might be PC Basic [1] which is a GW BASIC clone actually written in Python. Nothing better than executing spaghetti code in an interpreter written in an interpreted language! Python indeed must be powerful indeed. [1] http://sourceforge.net/projects/pcbasic