Path: csiph.com!feeder.erje.net!1.us.feeder.erje.net!ecngs!testfeeder.ecngs.de!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Ethan Furman Newsgroups: comp.lang.python Subject: Re: Guido sees the light: PEP 8 updated Date: Sat, 16 Apr 2016 12:07:09 -0700 Lines: 33 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> <57128D5D.8050401@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de vJvcOcjH36PWSDD00xeC5gKbGQ1VWwlOFwQqzgvajbBQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'subject:PEP': 0.07; 'width': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'length.': 0.09; 'message-id:@stoneleaf.us': 0.09; 'rigorous': 0.09; 'xml.': 0.09; 'python': 0.10; '*only*': 0.16; '2016': 0.16; 'pep8': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'all,': 0.20; 'windows': 0.20; 'visible': 0.22; 'am,': 0.23; 'sat,': 0.23; 'xml': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'coding': 0.27; 'function': 0.28; 'larry': 0.29; 'screen.': 0.29; '~ethan~': 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; 'there': 0.36; 'lines': 0.36; 'depends': 0.36; 'mode': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'why': 0.39; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'matter': 0.63; 'companies': 0.63; 'judge': 0.66; 'landscape': 0.66; 'portrait': 0.84; 'prefers': 0.84; 'ugly,': 0.84 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.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: <57128D5D.8050401@stoneleaf.us> 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:107108 On 04/16/2016 10:25 AM, Terry Reedy wrote: > On 4/16/2016 12:58 PM, Larry Martell wrote: >> On Sat, Apr 16, 2016 at 12:51 PM, Marko Rauhamaa wrote: >>> Larry Martell wrote: >>>> 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. Python code windows go in my portrait mode 27" screens (120 chars), while xml windows go in landscape mode (220 chars). Yes, there are many reasons why I don't like xml. :( -- ~Ethan~