Re:Beyond PEP 8 – Best practices for beautiful intelligible ...
by sago on Saturday August 08, 2015 @09:39PM
(#10029228)
> it should be respected regardless of font size, monitor width, etc.
I don't think anyone would suggest it is magic. It is a convention that is somewhere near to being good, and is so widely used that it is heavily tool supported, so you should have a good reason not to use it.
Actually, 80 is a bit of a misnomer, PEP8 has it at 79, git convention is 72 (50 for first line, to allow git log to display sha-summary inline and fit into 80 cols), etc.
> You can just let it either wrap them or cut some lines off and scroll when you want to check them (what I do).
Ah, I see. In which case I take back many of my objections. I see what you're saying now. Thanks.
It's obviously always gonna be a small proportion. Nobody write > 80 lines all the time (or should).
But just because you accept > 80 lines doesn't mean you have to have the editor to > 80 width. You can just let it either wrap them or cut some lines off and scroll when you want to check them (what I do).
I don't buy that somehow this "80 characters per page" is some magic number that holds true from the teletype days to today, and it should be respected regardless of font size, monitor width, etc.