On 80 columns should (not) be enough for everyone

Tomek Sowiński just at ask.me
Sun Jan 30 12:00:01 PST 2011


Sean Kelly napisał:

> Print text doesn't have indentation levels though.  Assuming a 4 character indent, the smallest indentation level for code in a D member function is 8 characters.  Add a nested conditional and code is starting 16 characters in, which when wrapped at 80 characters begins to look like a newspaper column.  I wrap all my comments at 79 characters, but allow code to spill as far as 110 (which is the number of columns on an 8.5x11" piece of paper in landscape mode).

Yeah. If counted without indents, 90 characters would probably suffice, but with them it's at least 120 so that nested code doesn't get stifled.

And I'm programming with a proportional font -- far more readable than a mono-space.

-- 
Tomek



More information about the Digitalmars-d mailing list