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


Groups > comp.lang.python > #51559

Re: PEP8 79 char max

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.067
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'columns': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'margin': 0.16; '(you': 0.16; ':-)': 0.16; 'sender:addr:gmail.com': 0.17; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'skip': 0.24; 'text.': 0.24; '(or': 0.24; 'task': 0.26; 'header:In-Reply-To:1': 0.27; 'characters': 0.30; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'exclude': 0.31; 'indentation': 0.31; 'anyone': 0.31; 'becomes': 0.33; 'agree': 0.35; 'received:google.com': 0.35; 'either': 0.39; 'skip:p 20': 0.39; 'read': 0.60; 'length': 0.61; 'back': 0.62; 'more': 0.64; 'different': 0.65; 'line,': 0.68; 'reads': 0.68; 'engineers,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YHJ61IFVoWsT8qQ3gGrDpvOykDmbFF1MOVnWaj9lcfc=; b=hxAqMisHdC9i9im74sKaFimRoXmW2kVup2uuT1xd+JAo0ksVbvJf82EcIBmuVoHHmk +dqBd9EM4Um47CTr8ahwbEzo6Lu0+HoegeMgGf3KWdCCzB+Zkdf/xiZzxDPZ1TTxWdyq EHsGRuwAmcpsSb9ukwjeRU20hynlBToLRcTxjmV/7w+lplBVREnHuE0X33u3bD6NW0uw S6EUgn4W+j+l16IQbkEcM7O2v+EHDA9ncr13LkwFtfb5rzpEF8r2HXkbLAr/RYhnCaOf 1PpgtKj7TiBVPzLwm5VK7zvfiv+F4G5zgPUDW6OF8D0uOPp4sDhQ9gNpdN6LBy3xe5no IKBw==
MIME-Version 1.0
X-Received by 10.42.101.80 with SMTP id d16mr22179156ico.93.1375193213374; Tue, 30 Jul 2013 07:06:53 -0700 (PDT)
Sender skip.montanaro@gmail.com
In-Reply-To <CAN1F8qWpgKRmF8bUq5_=uiMGnjmEHnWu_r+rjVcmmrOddDLCoQ@mail.gmail.com>
References <51F6C5F5.5020201@Gmail.com> <kt6l70$6q4$1@ger.gmane.org> <CANc-5UwuE2w7d9NHaaWDwYeLtE6aSQrGXoTMx4k9xYxa6T6UfA@mail.gmail.com> <CAN1F8qWpgKRmF8bUq5_=uiMGnjmEHnWu_r+rjVcmmrOddDLCoQ@mail.gmail.com>
Date Tue, 30 Jul 2013 09:06:53 -0500
X-Google-Sender-Auth QQ5TmGidXpMfaJ_JUN0rdvTyF3g
Subject Re: PEP8 79 char max
From Skip Montanaro <skip@pobox.com>
To Joshua Landau <joshua@landau.ws>
Content-Type text/plain; charset=UTF-8
Cc Python <python-list@python.org>, Skip Montanaro <skip@pobox.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5309.1375193222.3114.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375193222 news.xs4all.nl 15876 [2001:888:2000:d::a6]:39785
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51559

Show key headers only | View raw


> In that gauge I would exclude indentation (you don't count the
> number of characters the margin takes) ....

I don't think anyone reads the margins. :-)

That said, I agree that code and prose are fundamentally different
beasts.  Still, when reading either and you get to the end of the
line, you need to shift your gaze down a line and back to the left
margin (or the left margin plus any indentation).  That task becomes
more difficult as line length increases.

As programmers/software engineers, we need to read and write both code
and text. I think 80 columns is still a decent compromise.

Skip

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


Thread

Re: PEP8 79 char max Skip Montanaro <skip@pobox.com> - 2013-07-30 09:06 -0500
  Re: PEP8 79 char max Neil Cerutti <neilc@norwich.edu> - 2013-07-30 14:49 +0000
    Re: PEP8 79 char max Skip Montanaro <skip@pobox.com> - 2013-07-30 10:44 -0500
    Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-07-30 17:41 +0100

csiph-web