Good Perl code is the best form of evangelism
Thursday April 17, 2008
Here is a clear re-factoring of a terrible Perl routine into good Perl. The author pulls a terrible example of a Perl routine from the Microsoft Scripting Games and proceeds to show how to rewrite it to be more succinct, clean and Perl-ish. All in all, a great example of real Perl style! Detractors of Perl often point to code that looks like the bad example in this article and talk about how ugly Perl is, but here Andy Lester shows us that Perl code can be pretty and functional. Typically it's the programmer, and not the language that is responsible for bad code.
Good Perl code is the best form of evangelism
Good Perl code is the best form of evangelism


Comments
No comments yet. Leave a Comment