On Thu, Jan 19 2006, Alan Cox wrote:
> On Iau, 2006-01-19 at 17:17 +1100, Stephen Rothwell wrote:
> > Documentation/CodingStyle says:
> >
> > The limit on the length of lines is 80 columns and this is a hard limit.
>
> Its so hard nobody follows it because in many places the results as Dave
> correctly points out are just stupid.
>
> Linux 2.6.16-rc1
> Number of files matching *.[c|h] : 15732
> Number with lines exceeding 80 columns : 6931
> As a percentage : 44%
>
> Fix the CodingStyle document instead
89% of all statistics are bogus, right? In those files, how many lines
are correctly wrapped even if some are > 80 chars?
I think the CodingStyle suggestion of 80 chars is just fine. I try to
stay within that, and I mostly succeed. The occasional over-the-line is
far better than advocation >> 80 chars per line imho.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]