Guido sees the light: PEP 8 updated

BartC bc at freeuk.com
Sat Apr 16 14:18:17 EDT 2016


On 16/04/2016 17:58, Larry Martell wrote:
> On Sat, Apr 16, 2016 at 12:51 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
>> Larry Martell <larry.martell at gmail.com>:
>>
>>> I have worked for many companies where you are required to get a clean
>>> run of pep8 on your code before your pull request will even be
>>> considered for approval. I don't agree with this at all, as I think it
>>> makes the code very ugly, especially enforcing the max line length.
>>
>> Agh, I was with you until your last remark.
>>
>> A max line length of 79 characters is among the *only* rigorous
>> principles I judge coding style on.
>>
>> It comes with the maxim that one function must be visible at once on the
>> screen.
>
> if we still had 1970's 80 character TTYs that would matter but on my
> 29" 1920x1080 screen it doesn't.

There are reasons why 'broadsheet' newspapers don't have a single wide 
column spanning the entire width of the page, but are divided into 
multiple columns.

(But I think 80 columns is a bit limited. Maybe 100 or 132.)

-- 
Bartc



More information about the Python-list mailing list