Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ethan Furman Newsgroups: comp.lang.python Subject: Re: Continuing indentation Date: Wed, 02 Mar 2016 18:57:56 -0800 Lines: 12 Message-ID: References: <0b33c10d-4366-49c7-8416-4d4ecd56ac8b@googlegroups.com> <56d79fcc$0$22141$c3e8da3$5496439d@news.astraweb.com> <85si08ths0.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de cvemHXjh9GCF6o5aT9WjqAJ4YPgyAfWasm8/23skGrMg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'wastes': 0.09; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'chris': 0.26; 'mind,': 0.29; '~ethan~': 0.29; 'safely': 0.33; 'should': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'easily': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'remembering': 0.84; 'unique.': 0.84 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:103932 On 03/02/2016 06:33 PM, Chris Angelico wrote: > It's not just name collisions. You should be able to keep in your head > every local name in a section of code. Giving a name to a single-use > expression wastes one of those precious slots in your mind, even if > it's easily and safely unique. If it's a single-use name I stop remembering after its single use. -- ~Ethan~