PEP 8 and extraneous whitespace

Zero Piraeus schesis at
Sun Jul 24 17:08:53 CEST 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.



More information about the Python-list mailing list