In defence of 80-char lines

Jason Swails jason.swails at gmail.com
Thu Apr 4 17:00:53 EDT 2013


On Thu, Apr 4, 2013 at 4:28 PM, jmfauth <wxjmfauth at gmail.com> wrote:

> 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",


Didn't see this coming.


> 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.
>

Let's log this as an exception to the rule of 80.  There are plenty of
threads not-about-Unicode-but-are-now-about-Unicode that we don't have to
create another one.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130404/2d4fce8d/attachment.html>


More information about the Python-list mailing list