Re:Rob Pike: Submit to the punched card tyranny
by fluidcruft on Friday July 10, 2015 @08:45PM
(#9867953)
When talking about ease of reading, one important nuance is to not to confuse "characters per line" with "columns per line"--whitespace doesn't matter.
Applying a block indent doesn't increase the number of printed characters per line. And consider multi-column text as seen in newspapers--generally the principle is that it's the width of the text that matters, not where the column is located on the page.
Generally, the layout of characters within a block of text is directed to the task of reading within a passage. The layout of blocks on the page/screen is more about conveying larger structure and toward the task of seeking/navigating among passages.
Re:Rob Pike: Submit to the punched card tyranny
by notacoward on Friday July 10, 2015 @08:56PM
(#9867977)
It's true that indented code is different than text, but I don't think it's different enough (or in a way) to affect the conclusion. Indented blocks don't go on forever before the eye must seek back to the beginning. Width limitations help reduce "indentation creep" which is bad for its own reasons. Block comments (including those extracted for documentation) are often full width. For these reasons and more, a column limit yields more readable results.
Is 80 columns exactly right? Probably not. From what I've read, the ideal is probably a bit shorter. In any case, having a standard that's in the right ballpark is a good thing. There will always be some complainers, but 80 columns seems pretty good for most people. It's nothing to do with punch cards, except that their design was probably influenced by the same ergonomic principles.