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


Groups > comp.lang.python > #51496

Re: PEP8 79 char max

From Terry Reedy <tjreedy@udel.edu>
Subject Re: PEP8 79 char max
Date 2013-07-29 17:01 -0400
References <51F6C5F5.5020201@Gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5270.1375131703.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 7/29/2013 3:43 PM, Devyn Collier Johnson wrote:
> In Python programming, the PEP8 recommends limiting lines to a maximum
> of 79 characters because "There are still many devices around that are
> limited to 80 character lines"

"plus, limiting windows to 80 characters makes it possible to have 
several windows side-by-side. "

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

PEP 8 is being revised. My understanding is that because such machines 
are now rare, while the second reason is still operative, the 
recommended limit will be raised to 100, or at least say that some are 
using that as the guideline. 200 char lines are harder to read.

-- 
Terry Jan Reedy

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


Thread

Re: PEP8 79 char max Terry Reedy <tjreedy@udel.edu> - 2013-07-29 17:01 -0400

csiph-web