in reply to Re^6: I want you to convince me to learn Perl
in thread I want you to convince me to learn Perl
it’s merely about making proper indentation a rule.
Proper indentation is a visual thing.
A tab on one line, an errant space preceding a tab on the next; four spaces on the next; doesn't matter, everything lines up.
'cepting for one language.
Sure, its easy to be consistent when you first type code -- I have my editor set to convert tabs to 4 spaces on input for pretty much every programming language I use. But its when you pick up a piece of someone else's code who used a different convention; or you cut and paste between files; or grab a snippet off the 'net; or just move a bit of code from one level to another...
The only reliable method is to squelch every line and re-indent. Life's too damn short for such pointless, affected, self-inflicted make-work.
And maybe the reason you hear it so often, is cos its true.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: I want you to convince me to learn Perl
by CountZero (Bishop) on Nov 24, 2013 at 17:08 UTC |