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


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

Re: Reasons for source code line length limits (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?)

Started byChris Angelico <rosuav@gmail.com>
First post2014-12-08 15:48 +1100
Last post2014-12-08 15:48 +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 (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?) Chris Angelico <rosuav@gmail.com> - 2014-12-08 15:48 +1100

#82101 — Re: Reasons for source code line length limits (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?)

FromChris Angelico <rosuav@gmail.com>
Date2014-12-08 15:48 +1100
SubjectRe: Reasons for source code line length limits (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?)
Message-ID<mailman.16704.1418014105.18130.python-list@python.org>
On Mon, Dec 8, 2014 at 3:44 PM, Ben Finney <ben+python@benfinney.id.au> wrote:
> But regardless of display technology, the biggest reason to stick to a
> limit like 80 or less is: reader technology. The ability for humans to
> comprehend long lines of text is poor, and there *is* a cognitive point
> beyond which it's not helpful to have longer lines.

This is true. However, the human eye tends to ignore leading
indentation to some degree, so in terms of the original question
(which referred to tabs vs spaces and how that interacts with the line
length limit), it's even less important to worry about exact character
counts.

Sure, a 500-character line is less readable than a 75-character line.
But how much difference is there between 79 and, say, 90? I'd say
there's more variation between different people than that.

ChrisA

[toc] | [standalone]


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


csiph-web