Re:Perl far from dead, more popular than you think
by elblanco on Friday November 06, 2009 @07:38PM
(#927296)
One can certainly hack out some very maintainable Perl code. I agree 100%. I just started doing some work on an old 10kloc Perl app I wrote 3 years ago and because I planned it out in a sensible manner, have been able to jump in without too much trouble.
But I've also choked when trying to work on trivial scripts I tossed together in a rush.
I've always found Python to naturally follow more maintainable code patterns -- and it seems really designed with a philosophy towards that goal. But I've always liked Perl better since the code flows more like how I think (at least in a write once kind of way).
Perl has had this stigma forever and the community has compensated in many ways; Perl Best Practices, 100s of Test:: modules, Moose, etc., so you actually have a pretty good chance of writing maintainable software. One feature I consider key to good OOP are "roles", and only Perl, Smalltalk, and Haskell really have those.
People like to repeat things they hear, but if you think about it, Perl is not at all unmaintainable.