Guido sees the light: PEP 8 updated

Tim Delaney timothy.c.delaney at gmail.com
Sat Apr 16 18:15:55 EDT 2016


On 17 April 2016 at 07:50, Tim Chase <python.list at tim.thechases.com> wrote:

> On 2016-04-17 06:08, Ben Finney wrote:
> > Larry Martell <larry.martell at gmail.com> writes:
> > > if we still had 1970's 80 character TTYs that would matter but on
> > > my 29" 1920x1080 screen it doesn't.
> >
> > Larry, you've been around long enough to know that's not an argument
> > against a limited line length for code. It is not about the
> > technology of your terminal. It's about the technology of the brain
> > reading the text.
>
> But just in case you do want to consider hardware limits, I do some
> of my coding on my phone & tablet, both of which are ~80 characters
> wide at best (or less if I use the phone in portrait mode).  I also do
> some editing/diffing within a cmd.exe window on Windows which is
> limited to 80 characters unless you do some hijinks in the settings
> to expand it.
>

Personally, I've given up on 80 characters (or even 120 in rare cases) for
Java code (esp method declarations), where just specifying the generics can
often take almost that much.

But for Python code it's generally fairly easy to break a line in a natural
place.

Tim Delaney



More information about the Python-list mailing list