in reply to 78/80 chars perl line still a meaningful rule
I just skimmed through some code I'd written recently on my netbook and checked the line lengths. (not counting indentation, currently set to tab width of 2)
I'm happy with the 200 char confess, because the important bits of it are all in the first 40-60 characters. Then there's a bunch of hash lookups which only matter after they've been interpolated into an error message. Then comes the conditions, which should have been clear from the English in the first 40-60 characters. It's a netbook, so why waste vertical space on unimportant stuff like that?
Note: I am not using a fixed width font, so the lines appear narrower than they otherwise would be.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 78/80 chars perl line still a meaningful rule
by tobyink (Canon) on Oct 18, 2012 at 16:26 UTC | |
|
Re^2: 78/80 chars perl line still a meaningful rule
by McA (Priest) on Oct 17, 2012 at 07:35 UTC | |
by Anonymous Monk on Oct 17, 2012 at 08:11 UTC | |
by McA (Priest) on Oct 17, 2012 at 08:24 UTC | |
by Anonymous Monk on Oct 17, 2012 at 09:32 UTC | |
by Anonymous Monk on Oct 18, 2012 at 16:12 UTC | |
by tye (Sage) on Oct 17, 2012 at 13:37 UTC |