numerodix blog: on Perl
I've written code in Bash, C, C++, Haskell, Java, Pascal, PHP, Python, Ruby. So I feel like I've been around the block a few times, as far as choosing a language. And yet, Perl leaves me bewildered.
One of the pillars of Ruby is something called "the principle of least surprise". What it means is that when you're not sure how to do something in Ruby, and you just do what seems most likely to work, it works. It's a wonderful quality, and it seems to be based on Perl, because Perl is the exact opposite.
Perl smacks horribly of apprenticeship culture. One where the novice is carefully guided through the valley of death, across the bridge over the pit of lava, past the nine-headed monsters, by a veteran monk. Send a tourist out there with a map and he's likely to be sent home in several pieces.
+===================================================================+Obviously, this fellow is a bit conflicted but still makes some interesting points. Hacking Perl on-line can be treacherous. The best way to go about learning Perl is to start out with a few good books and go from there. It builds the foundation and reduces the frustration level to a tolerable level. Still, you do need to have a high threshold of pain. ;)
I've recommended a few good books on Perl in this article. Hang in there Perl Hackers!
--Dietrich

Leave a comment