Guido sees the light: PEP 8 updated

Sivan Greenberg sivan at vitakka.co
Mon Apr 18 09:35:25 EDT 2016


On Sat, Apr 16, 2016 at 8:25 PM, Terry Reedy <tjreedy at udel.edu> wrote:

> On 4/16/2016 12:58 PM, 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.
>>
>
> It depends on whether one prefers to use the extra width to have long
> lines or side-by-side windows.  I prefer the latter.


That's my use case as well, and why I admire the forethought in the width
length. Side by side windows rock when doing TTD.

-Sivan



More information about the Python-list mailing list