Comment Re:"Web development can be fun again" (Score 1) 132
I agree that it's possible to write maintainable perl, but from my vantage point, perl is not really designed for this.
To me it's more of a hack n` slash language. Code while you think. All those shortcuts and lack of boilerplate code and ability to just say "take this data, compare it with this, and do whatever" in a few lines is to me perl's strength. The fact that the resultant code is hard to read is the weakness. If you are not going to do that, and write code in a more rigid, designed manner to avoid this, why use perl in the first place?
The argument that it's not the tools it's the developer stands, however I do think some tools are more oriented towards maintainability (java, c++) and others towards rapid development (perl). You get ugly code in every language, but perl almost directly encourages it. The CPAN tool is _the_ definition of perl. Works, but oh my god is this code or cyphertext!
I think I see the problem here. It's a perception problem. You've decided that you want Perl to be a "hack n slash" language, so you view it in that way, and only in that way. I think you're seriously shortchanging Perl and pigeonholing it to something that doesn't match reality.
"Why use Perl" if you're not going to write sloppy code? Because there's a huge number of things that Perl can do really well. For example, using Mojolicious, it can be a great tool for designing web applications. Using CPAN, it can do any number of things. Using Moose, it has Object Oriented capabilities that rival any other language available. It's fast, it's flexible, and it processes text better than anything else.
Also, I'd really like to see some evidence of your "perl almost directly encourages [ugly code]". No offense, but I think that's a bunch of crap. It perpetuates a stereotype that isn't based on fact, but prejudice. Take 10-20 minutes and do a little research on Perl. Not Perl as you think it is (based on outdated assumptions and incorrect information), but as it really is. Look at the Modern Perl movement, the push to get past the misinformation about ancient Perl, and the awesome new world of Perl.
It's a much different world than you seem to see. And, for the record, having written C++ and Java professionally in the past, I'd much rather maintain Perl code than either of those.