Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51559

Re: PEP8 79 char max

References <51F6C5F5.5020201@Gmail.com> <kt6l70$6q4$1@ger.gmane.org> <CANc-5UwuE2w7d9NHaaWDwYeLtE6aSQrGXoTMx4k9xYxa6T6UfA@mail.gmail.com> <CAN1F8qWpgKRmF8bUq5_=uiMGnjmEHnWu_r+rjVcmmrOddDLCoQ@mail.gmail.com>
Date 2013-07-30 09:06 -0500
Subject Re: PEP8 79 char max
From Skip Montanaro <skip@pobox.com>
Newsgroups comp.lang.python
Message-ID <mailman.5309.1375193222.3114.python-list@python.org> (permalink)

Show all headers | View raw


> In that gauge I would exclude indentation (you don't count the
> number of characters the margin takes) ....

I don't think anyone reads the margins. :-)

That said, I agree that code and prose are fundamentally different
beasts.  Still, when reading either and you get to the end of the
line, you need to shift your gaze down a line and back to the left
margin (or the left margin plus any indentation).  That task becomes
more difficult as line length increases.

As programmers/software engineers, we need to read and write both code
and text. I think 80 columns is still a decent compromise.

Skip

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: PEP8 79 char max Skip Montanaro <skip@pobox.com> - 2013-07-30 09:06 -0500
  Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-07-30 14:49 +0000
    Re: PEP8 79 char max Skip Montanaro <skip@pobox.com> - 2013-07-30 10:44 -0500
    Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-07-30 17:41 +0100

csiph-web