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


Groups > comp.lang.python > #82105 > unrolled thread

Re: Reasons for source code line length limits

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-12-08 15:58 +1100
Last post2014-12-08 15:58 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#82105 — Re: Reasons for source code line length limits

FromBen Finney <ben+python@benfinney.id.au>
Date2014-12-08 15:58 +1100
SubjectRe: Reasons for source code line length limits
Message-ID<mailman.16707.1418014806.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web