PEP8 79 char max

John Gordon gordon at panix.com
Mon Jul 29 16:30:54 EDT 2013


In <mailman.5257.1375127041.3114.python-list at python.org> Devyn Collier Johnson <devyncjohnson at gmail.com> writes:

> (http://www.python.org/dev/peps/pep-0008/#code-lay-out). What devices 
> cannot handle 80 or more characters on a line?

For a start, older fixed-width dumb terminals and printers.  And even some
very new devices (tablet, smartphone) might have limited screen sizes.

And even if you're on a device that can display more than 80 characters, it
can be convenient to have several windows display side-to-side.

> Would following this recommendation improve script performance?

No, but it improves human readability.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list