Re: [PATCH] checkpatch.pl: remove the 80 charactes punch card limit

From: Simon Farnsworth
Date: Mon Feb 01 2010 - 06:50:21 EST


Alexander Clouter wrote:
> Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>>> The time of 80 characters punch card and terminals are over, so i would
>>> be a good thing to set the line length limit to 120. Every display today
>>> should be able handle this.
>>>
>>> Signed-off-by: Stefani Seibold <stefani@xxxxxxxxxxx>
>> Full Ack!
>>
> NACK Attack!
>
> There is a reason Knuth only put so many words on a line with TeX.
>
If you're going to cite Knuth as a reason for the 80 character per line
limit, you should understand the difference between ribbon length and
line length.

While there are good reasons to constrain the number of characters in a
ribbon, and to prohibit too much of a shift in indentation between two
neighbouring lines, there's no particularly strong readability reason to
limit a line to 80 characters.

Thus, assuming that maintainers read the patches they're sent, and apply
a bit of common sense (insisting on sensibly sized ribbons, and getting
grouchy about deep indentation), an 80 character line length limit isn't
needed.

--
Simon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/