Syntactic Confectionery Delight | |
PerlMonks |
Re^2: No Hard Tabs in Codeby Anonymous Monk |
on Nov 25, 2010 at 06:03 UTC ( [id://873581]=note: print w/replies, xml ) | Need Help?? |
I have two .perltidyrc files. One contains just this line: The other contains various heretical statements such as
As I'm editing code, I'll run perltidy over it with my preference for formatting. Before checking code back in, I'll run perltidy with the Perl Best Practices formatting, run ./Build test and commit. I, too, draw a distinction between "indenting" and "alignment". I, too, program in languages other than Perl (such as Ruby, Python and PHP). I also edit using a proportional font (DejaVu Sans is my current favourite), which renders any attempts at "alignment" futile. I cannot stand the practice of sticking in extra spaces to make the '=' symbols line up. The perltidy tool lets me slip in under the radar of contemporary society.
In Section
Meditations
|
|