Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: =?utf-8?Q?Alice_Bevan=E2=80=93McGregor?= Newsgroups: comp.lang.python Subject: Re: Guido sees the light: PEP 8 updated Date: Tue, 19 Apr 2016 10:45:10 -0400 Organization: Illico Hodes Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 5dsZv/nHWqdLZsZ/QHXYQgKifjHUTQCGieC99ElMrmxQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:PEP': 0.07; 'width': 0.07; 'disconnect': 0.09; 'encode': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '\xe2\x80\x94': 0.09; 'python': 0.10; '"use': 0.16; '"your': 0.16; 'article:': 0.16; 'germane': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'processor': 0.18; 'specifies': 0.18; 'language': 0.19; 'essential': 0.20; '(or': 0.23; 'wrote': 0.23; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'points': 0.27; 'towards': 0.28; 'indentation': 0.29; 'spaces': 0.29; 'character': 0.29; 'code': 0.30; 'rules': 0.31; 'fixed': 0.31; 'raised': 0.33; "isn't": 0.35; 'but': 0.36; 'needed': 0.36; 'lines': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'seem': 0.37; 'end': 0.39; 'why': 0.39; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'space': 0.40; 'some': 0.40; 'maximum': 0.61; 'wall': 0.63; 'fundamental': 0.66; 'said:': 0.66; 'therefore': 0.67; 'worth': 0.67; 'entitled': 0.70; 'article': 0.77; 'alice.': 0.84; 'received:23': 0.84; 'start.': 0.84; 'you\xe2\x80\x99ll': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 23.91.254.234 User-Agent: Unison/2.2 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:107335 On 2016-04-18 21:14:02 +0000, Pete Forman said: > Why is it that Python continues to use a fixed width font and therefore > specifies the maximum line width as a character count? > > An essential part of the language is indentation which ought to continue > to mandate that lines start with a multiple of 4 em worth of space (or > some other size or encode with hard tabs, that is not germane to my > question). The content of the line need not be bound by the rules needed > to position its start. I wrote a semi-serious, somewhat tongue-in-cheek article entitled "Your code style guide is crap, but still better than nothing." a number of years ago, and reposted it towards the end of last year. It would seem to apply here, as the fundamental disconnect isn't just "use of N space characters", but "use of space characters at all". >From the article: > Do you use spaces in a word processor to line up bullet points? If you > do you’ll be first against the wall when the revolution comes! http://s.webcore.io/2K0W0m2T2e2f It also touches on points raised by others, such as Elastic Tabstops. — Alice.