SilasTheMonk has asked for the wisdom of the Perl Monks concerning the following question:
I recently bought and read Perl Best Practices. Generally my thoughts are that the book breaks down as follows:
15% of the book is clearly good and could by used by anyone without even needing to read the book, by just enforcing a subset of Perl::Critic.
5% of the book concerns inside-outside classes. While the concept is sort of beautiful, I don't think I want to even so much as start a flame war on that particular subject let alone actually use them.
The remaining 80% of the book probably does make perl better, more maintainable and more comprehensible BUT only to people who have read the book! A case in point would be extended regular expressions which I think are really scary if you just dived into the perl man page.
Anyway I was thankful to him that I could at last enforce a policy on indenting - until I needed to write a Makefile. Now all the tabs in the Makefile are spaces and its not really a Makefile any more. I suppose the solutions are to either use a different editor for Makefiles or to load a special config for Makefiles.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Damian ate my Makefile
by assemble (Friar) on Apr 23, 2010 at 17:57 UTC | |
Re: Damian ate my Makefile
by MidLifeXis (Monsignor) on Apr 23, 2010 at 16:57 UTC | |
Re: Damian ate my Makefile
by JavaFan (Canon) on Apr 23, 2010 at 15:53 UTC | |
by SilasTheMonk (Chaplain) on Apr 23, 2010 at 15:58 UTC |