Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!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; 'subject:Python': 0.05; 'character,': 0.07; 'column': 0.07; 'width': 0.07; 'cc:addr :python-list': 0.09; 'convention,': 0.09; 'pixels': 0.09; 'tab': 0.09; 'python': 0.10; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'personally,': 0.16; 'tabs': 0.16; 'unusable.': 0.16; 'wrote:': 0.16; 'runs': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'either.': 0.22; 'logical': 0.22; 'sep': 0.22; 'programming': 0.22; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'compatible': 0.27; 'equivalent': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'idea': 0.28; 'actual': 0.28; 'key,': 0.29; 'novel': 0.29; 'spaces': 0.29; 'regardless': 0.31; 'skip:_ 10': 0.32; 'run': 0.33; 'rule': 0.33; 'shift': 0.33; 'received:google.com': 0.35; 'next': 0.35; 'visual': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'done.': 0.37; "won't": 0.38; 'does': 0.39; 'enough': 0.39; 'your': 0.60; 'press': 0.61; 'bothered': 0.66; 'choose': 0.68; 'eight': 0.72; 'won': 0.76; 'chrisa': 0.84; 'column.': 0.84; 'to:none': 0.91; 'preferred,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=umSXTJWcTFAX/WiHMomHB3LlwDBZTwcmiL/tDlL7C7A=; b=uhDKt47H7wFtzD/pD/2HCmand0evbhB41Zrm1bR6mMNw4+k++/RIsTpi+5ugaD3lDD kwdNmdcyDc0CuFzPQdJap3zZJw4oyoDqmaHOTexfrFRXKecAtp+RfNs6eyQ+19AXdxGC LlkxLH8pKK70jFuwooyGYKmh1Z1pnAwAANrP4ZTAALA4dbWC1ffREehpMAROxG3Q0Ndr lAXEygdCUeFtoYXkf5tCJwX74kwZvpf4hsKDoBaqjJ8sW7/5TwUcgdnMdu5WM5kmsTYR Ty/Iz2xqv0kgbQcSeicQuLFW+y/ERfXImdMGhLldtEKzrhZcOCDpzqy4QzSzhcffed7T RO2Q== MIME-Version: 1.0 X-Received: by 10.107.41.142 with SMTP id p136mr488035iop.19.1441949141396; Thu, 10 Sep 2015 22:25:41 -0700 (PDT) In-Reply-To: <878u8do7u2.fsf@elektro.pacujo.net> References: <87h9n1o9q4.fsf@elektro.pacujo.net> <878u8do7u2.fsf@elektro.pacujo.net> Date: Fri, 11 Sep 2015 15:25:41 +1000 Subject: Re: Python handles globals badly. From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441949149 news.xs4all.nl 23724 [2001:888:2000:d::a6]:58223 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96322 On Fri, Sep 11, 2015 at 3:15 PM, Marko Rauhamaa wrote: > Chris Angelico : > >> Personally, I like to use tab characters for indentation. You can >> choose how many pixels or ems or ens or spaces the actual visual shift >> is, and if I disagree with your choice, it won't affect anything. As >> long as tabs are used _exclusively_, Python won't be bothered by it >> either. > > Your preferred, novel usage of TABs, which runs counter to the age-old > programming convention, has won enough supporters to make TABs unusable. > > No harm done. TABs have been banished. They were a bad idea in the first > place. I don't understand. How does that usage run counter to the old conventions? A tab character, a press of the tab key, was a signal to move to the next logical column - regardless of the exact width of a column. It's also completely compatible with the stricter rule "a tab is equivalent to eight spaces". ChrisA