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


Groups > comp.lang.python > #82105

Re: Reasons for source code line length limits

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'argument': 0.05; 'say,': 0.05; 'subject:code': 0.07; '*is*': 0.09; 'arguments': 0.09; 'enormous': 0.09; 'pointless': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sure,': 0.09; 'finney': 0.16; 'forbid': 0.16; 'goal,': 0.16; 'merely': 0.16; 'readable': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'variations': 0.16; 'code.': 0.18; 'header:User-Agent:1': 0.23; 'driver': 0.24; 'stick': 0.24; 'header:X-Complaints-To:1': 0.27; 'chris': 0.29; 'nature': 0.30; 'lines': 0.31; 'that.': 0.31; 'safely': 0.31; 'writes:': 0.31; 'agreed': 0.32; 'text': 0.33; 'everyone': 0.33; 'becomes': 0.33; "i'd": 0.34; 'could': 0.34; 'agree': 0.35; 'but': 0.35; 'there': 0.35; 'picking': 0.36; 'doing': 0.36; 'should': 0.36; 'too': 0.37; 'being': 0.38; 'ben': 0.38; 'driving': 0.38; 'saves': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'is.': 0.60; 'matter': 0.61; 'course': 0.61; 'such': 0.63; 'telling': 0.64; 'more': 0.64; 'different': 0.65; 'between': 0.67; 'skill': 0.68; 'vehicle': 0.68; '500': 0.70; 'limit': 0.70; 'ending': 0.78; '8bit%:16': 0.84; 'fast,': 0.84; 'good!': 0.84; 'received:125': 0.84; 'subject:limits': 0.84; 'subject:source': 0.84; 'vehicle.': 0.84; 'roads': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Reasons for source code line length limits
Date Mon, 08 Dec 2014 15:58:59 +1100
References <CAFaCOgxq6jp5bDXcKvXztAXdwxTOBoYRmEf2v4g_1nAYwJutGw@mail.gmail.com> <CAMu67MZPhSYessyjP4UD0DWe5sX3YkKqsgPqzbiXhVezNsQ55g@mail.gmail.com> <85iohmsqbr.fsf_-_@benfinney.id.au> <CAPTjJmrm6ziYKY=LOquQKJX=OfRJe-d6zBrC-88euFFf7KKmEw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:L7/voURy9+8BGqv5f5jqLKh5vGw=
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16707.1418014806.18130.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1418014806 news.xs4all.nl 2971 [2001:888:2000:d::a6]:56336
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82105

Show key headers only | View raw


Chris Angelico <rosuav@gmail.com> writes:

> Sure, a 500-character line is less readable than a 75-character line.

So we agree that merely being able to *display* more text on a line is
not a reason to have arbitrarily-long lines of code. Good!

> But how much difference is there between 79 and, say, 90? I'd say
> there's more variation between different people than that.

Of course there is. The argument then becomes one of picking a standard
and sticking to it, since doing so saves an enormous amount of wasted
time arguing.

Much as we can agree that driving a vehicle on public roads at 500 km/h
is too fast, but there is variation among people as to exactly how fast
they can safely drive a vehicle.

Once we've agreed there *is* such a thing as a harmfully-fast speed and
that we should forbid speeds that are too fast, the variations of driver
skill matter much less than picking one speed limit for a zone, telling
everyone they must stick to it, and ending pointless arguments about
where exactly to put the threshold.

-- 
 \             “I have never imputed to Nature a purpose or a goal, or |
  `\    anything that could be understood as anthropomorphic.” —Albert |
_o__)                                    Einstein, unsent letter, 1955 |
Ben Finney

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


Thread

Re: Reasons for source code line length limits Ben Finney <ben+python@benfinney.id.au> - 2014-12-08 15:58 +1100

csiph-web