News for hackers. Stuff that matters.
Re:Write better Perl with Perl::Critic by aneesh on Monday April 27, 2009 @11:02PM (#582597)
Try it out at http://perlcritic.com/. The feedback is usable - when the tool finds something to complain about, it provides a link to documentation explaining what it didn't like, and the way it "should be".
Re:Write better Perl with Perl::Critic by draegtun on Tuesday April 28, 2009 @04:34AM (#582880)
I used Perl::Critic a few years ago on a contract to demonstrate the code I had written was over 90% "Perl-Critic" compliant.

For the few non compliant programs I then documented why and what could be done next (in nearly all cases these programs hadn't been refactored yet).

The client was extremely pleased. So much so he asked me to perform a program audit on the complete Perl codebase he had ;-)

Re:Write better Perl with Perl::Critic by DTrejo on Tuesday April 28, 2009 @02:31AM (#582798)
Has someone done something similar with other languages?
Re:Write better Perl with Perl::Critic by draegtun on Tuesday April 28, 2009 @06:11AM (#582929)
For Python use pylint: http://pypi.python.org/pypi/pylint
Re:Write better Perl with Perl::Critic by stefano on Tuesday April 28, 2009 @05:02AM (#582894)
For javascript: http://www.jslint.com/
Re:Write better Perl with Perl::Critic by leadnose on Tuesday April 28, 2009 @04:56AM (#582889)