On Mon, 01 Jun 2020 22:58:25 +0200, Aragorn wrote:
the Linux kernel must no longer abide by the "80 columns"
Post by Aragorn
rule, because it yields ugly code, with too many line breaks.
So now he set forth a 100-columns limit, and — again — this decision is
only pertinent to the code submitted to the Linux kernel project.
But again, the new suggested 100 columns is not going to be a hard limit
So Linus has changed his opinion on this compared by say a year ago:
IMHO the 80 column hard limit is or was a good thing. Yes, I have a
bigger screen than that, but code written might not have the privelege of
occupying my screen all by itself. Maybe I want to compare 3 different
versions of my code in a tool like kdiff3. Then it is really convenient
to have room for the 3 versions side by side. Maybe I want to print out
the code on my printer, then it looks a lot better if it fits within the
printers 80 colums width on each page.
IMHO a hard limit of 100 colums would not be as good as the hard limit of
80 columns as shown in the examples above, but it would at least be
better than only a soft limit.
I have seen projects with soft limits where the developer with the widest
screen and capable of reading the smallest font "wins", everyone else
suffers from badly broken lines and all developers ask for bigger screens.