In defence of 80-char lines

jmfauth wxjmfauth at gmail.com
Thu Apr 4 16:28:04 EDT 2013


On 4 avr, 03:36, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> Although PEP 8 is only compulsory for the Python standard library, many
> users like to stick to PEP 8 for external projects.
>
> http://www.python.org/dev/peps/pep-0008/
>
> With perhaps one glaring exception: many people hate, or ignore, PEP 8's
> recommendation to limit lines to 80 characters. (Strictly speaking, 79
> characters.)
>
> Here is a good defence of 80 char lines:
>
> http://wrongsideofmemphis.com/2013/03/25/80-chars-per-line-is-great/
>
> --
> Steven

-----

With "unicode fonts", where even the monospaced fonts
present char widths with a variable width depending on
the unicode block (obvious reasons), speaking of a "text
width" in chars has not even a sense.

jmf



More information about the Python-list mailing list