Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'configure': 0.05; 'advocate': 0.07; 'suppose': 0.07; 'lines.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'repeated': 0.09; 'sections': 0.14; 'adjacent': 0.16; 'fancy': 0.16; 'finds': 0.16; 'kern': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'tab': 0.16; 'tabs': 0.16; 'underlying': 0.16; 'elements': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'seems': 0.21; 'separate': 0.22; 'header:User-Agent:1': 0.23; 'case.': 0.24; 'char': 0.24; 'interpret': 0.24; 'space.': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'robert': 0.30; 'code': 0.31; 'feeds': 0.31; 'horizontal': 0.31; 'vertical': 0.31; 'fri,': 0.33; 'could': 0.34; 'editor': 0.35; 'johnson': 0.35; 'but': 0.35; 'curious': 0.36; 'data,': 0.36; 'useful': 0.36; 'should': 0.36; 'level': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'space': 0.40; 'blank': 0.60; 'ian': 0.60; 'offer': 0.62; 'our': 0.64; 'world': 0.66; 'believe': 0.68; 'benefit': 0.68; 'nobody': 0.68; 'jul': 0.74; 'eco': 0.84; 'terrible': 0.84; 'received:86': 0.91; 'rick': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robert Kern Subject: Re: PEP8 and 4 spaces Date: Sat, 05 Jul 2014 21:07:26 +0100 References: <22220d8c-af69-434b-9361-520e396e615e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: cpc12-cmbg17-2-0-cust443.5-4.cable.virginm.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: 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: 1404590861 news.xs4all.nl 2942 [2001:888:2000:d::a6]:53802 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73997 On 2014-07-05 19:57, Ian Kelly wrote: > On Fri, Jul 4, 2014 at 8:00 PM, Rick Johnson > wrote: >> Strangly, I rather fancy the idea of using tabs in code,,, >> which allow each viewer to view the code in his or her level >> of indention,,, however, i cannot justify using a tab as a >> replacement for a space. Tabs should be used for "tabular" >> data (aka: speadsheets), and since code is NOT tabular data, >> we would be wise to use the space char for indention. > > I find it a little curious that nobody ever seems to advocate the use > of vertical tabs instead of repeated newlines. It should offer the > same benefit as horizontal tabs, namely that one could then > independently configure one's editor to separate adjacent code > elements with the desired number of blank lines. But I suppose that > nobody finds that useful enough to bother with in the vertical case. I do see the occasional person using form feeds to separate sections of code. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco