Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: Guido sees the light: PEP 8 updated Date: Sat, 16 Apr 2016 13:25:37 -0400 Lines: 26 Message-ID: References: <5711c1b3$0$1596$c3e8da3$5496439d@news.astraweb.com> <87shym6kpo.fsf@elektro.pacujo.net> <87h9f26ioa.fsf@elektro.pacujo.net> <1460809922.1918014.580580553.0AE05EE4@webmail.messagingengine.com> <878u0d7az5.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de SkNG4szWPhmx/IJTFgSulg3k6MGqOX/pTD+pNpDYvgEA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'subject:PEP': 0.07; 'width': 0.07; 'length.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rigorous': 0.09; 'jan': 0.11; '*only*': 0.16; '2016': 0.16; 'pep8': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'all,': 0.20; 'visible': 0.22; 'sat,': 0.23; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'coding': 0.27; 'function': 0.28; 'larry': 0.29; 'screen.': 0.29; 'character': 0.29; 'code': 0.30; 'especially': 0.32; 'screen': 0.32; 'run': 0.33; 'windows.': 0.33; 'worked': 0.34; 'but': 0.36; 'lines': 0.36; 'depends': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'received:org': 0.37; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'your': 0.60; 'matter': 0.63; 'received:96': 0.63; 'companies': 0.63; 'judge': 0.66; 'prefers': 0.84; 'ugly,': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-96-227-207-81.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <5711c1b3$0$1596$c3e8da3$5496439d@news.astraweb.com> <87shym6kpo.fsf@elektro.pacujo.net> <87h9f26ioa.fsf@elektro.pacujo.net> <1460809922.1918014.580580553.0AE05EE4@webmail.messagingengine.com> <878u0d7az5.fsf@elektro.pacujo.net> Xref: csiph.com comp.lang.python:107104 On 4/16/2016 12:58 PM, Larry Martell wrote: > On Sat, Apr 16, 2016 at 12:51 PM, Marko Rauhamaa wrote: >> Larry Martell : >> >>> 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. -- Terry Jan Reedy