Guido sees the light: PEP 8 updated

Alice Bevan–McGregor alice at gothcandy.com
Tue Apr 19 10:45:10 EDT 2016


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.





More information about the Python-list mailing list