Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; '(especially': 0.07; 'arrays': 0.09; 'attributes': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'message- id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'rem': 0.16; 'troll': 0.16; 'index': 0.16; 'variable': 0.18; 'wed,': 0.18; 'programming': 0.22; 'url:home': 0.24; 'initial': 0.24; "haven't": 0.24; 'distribute': 0.26; 'header:X-Complaints-To:1': 0.27; 'dec': 0.30; '(2)': 0.35; 'but': 0.35; 'impression': 0.36; 'charset:us-ascii': 0.36; 'experience,': 0.37; 'to:addr:python-list': 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; 'most': 0.60; 'email addr:gmail.com': 0.63; 'information': 0.63; 'high': 0.63; 'obvious': 0.74; 'power': 0.76; 'shield': 0.84; 'weapons': 0.84; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Python handles globals badly. Date: Wed, 03 Dec 2014 22:57:26 -0500 Organization: IISS Elusive Unicorn References: <8hIfw.85083$c94.38058@fx21.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 108.79.217.60 X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417665463 news.xs4all.nl 2902 [2001:888:2000:d::a6]:51444 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81881 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. But even I, in high school, would have made most of those "globals" a set of arrays (especially given the 2-character variable names allowed) and used documentation (comments) to supply the information on what index value represented what attribute... dim sh(20) rem ship attributes as rem (1) distribute shield power rem (2) target weapons subsystems -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/