[lkml]   [2004]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH, RFC: 2.6 Documentation/Codingstyle
On Fri, Feb 13, 2004 at 09:58:02AM +0100, Giuliano Pochini wrote:

>> +The limit on the length of lines is 80 columns and this is a hard limit.
> Well, I think this requirement is a bit silly IMHO. How many of us
> do usually code in a 80x25 terminal screen nowadays ?

I do. (That is, 80xN with N in 24..60 or so.)

The 80 here has a pedagogical and a practical purpose.
The practical one is that it makes sure that everybody can read the source.
The pedagogical is to invite you to arrange the code in a different way
if you are nesting too deeply or your expressions are too complicated.

There is also ergonomics. There is a reason newspapers do not print
text across the full width of the page - it would be very difficult
to read. There is an optimal column width. One might fight over the
exact value of the optimum, but 80 columns is not a bad choice.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:00    [W:0.172 / U:0.680 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site