[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47BEDB3F.4090100@davidnewall.com>
Date: Sat, 23 Feb 2008 00:55:03 +1030
From: David Newall <davidn@...idnewall.com>
To: Bart Van Assche <bart.vanassche@...il.com>
CC: Krzysztof Halasa <khc@...waw.pl>, Adrian Bunk <bunk@...nel.org>,
Greg Kroah-Hartman <greg@...ah.com>,
Roland Dreier <rdreier@...co.com>,
linux-kernel@...r.kernel.org, general@...ts.openfabrics.org,
Andrew Morton <akpm@...ux-foundation.org>,
Glenn Streiff <gstreiff@...effect.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Faisal Latif <flatif@...effect.com>
Subject: Re: [ofa-general] Re: Merging of completely unreviewed drivers
Bart Van Assche wrote:
> There is a reason to limit line length: scientific research has shown
> that readability of regular texts is optimal for a line length between
> 55 and 65 characters.
Putting aside the point that we're talking code, not regular text, I've
heard that said before and I don't think it's quite like that. Perhaps
the numbers you said might assume various things such as the width of
the eye's field of view, the distance to the image and the size of each
character?
> My experience is that the readability of source
> code decreases when the lines are very long (more than 160
> characters).
The point is that the width, excluding leading and trailing white space,
is what really matters. Even deeply indented code can be a snap to
understand if you don't have to fight artificial line breaks. And we've
got a much wider -- and taller! -- space available than we had in the
old 80x24 (and 80x1) days.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists