PEP 8 and extraneous whitespace
Zero Piraeus
schesis at gmail.com
Sun Jul 24 11:08:53 EDT 2011
:
> It's also because many people report that it's easier to read text when
> it's not wider than ~75 characters.
That rule [1] is for paragraphs of prose in proportional text; code is
both written and read differently. While there most likely is an upper
limit, it's going to be different - larger? - for monospace text with
varying natural line lengths whose visual structure helps you to keep
your "place".
Having said that, I use 78 characters, am rarely annoyed by it
(usually by exception text), and see little benefit in breaking from
such a widely obeyed standard.
-[]z.
[1] http://webtypography.net/Rhythm_and_Proportion/Horizontal_Motion/2.1.2
More information about the Python-list
mailing list