Originally posted by pgoetz
View Post
The problem with Perl is it's always hard to understand to anyone who hasn't invested a lot of time to learn it. You can't say the same of most other languages.
The Camel book does more than teach you how to program Perl, it's a treatise on how to think about programming in general. The Camel book is still hands down the best programming book I've ever read, and I've read quite a few. If you were able to write programs in languages after spending less than 5 minutes on tutorials, then either you're talking about a language whose syntax is very similar to another language you've already spent extensive time with, or you're writing mickey mouse programs. Anyone who knows anything about programming knows that all those "Learn C++ in 20 Days!" books are complete bullshit. Yes, you can learn some syntax in 20 days, but it takes at least months, generally years of practice to become proficient in a language that's sufficiently expressive to allow for the solution of complex tasks.
As for "you're talking about a language whose syntax is very similar to another", that's my entire point. Pretty much every major language has enough similarities where you can jump from one to another without having to re-lean everything, except Perl. The only professional training I got was for C and shell scripting. Every other language I know I managed to figure out within a few hours or days based on what I knew from those. As for "mickey mouse programs", one of these programs was the entire project management system for the company I currently work for, and it has resulted in a significant increase in revenue every year. This was made in Python, a language I taught myself within a matter of days (I knew the language prior to working on that project). I also built a database search tool out of PHP that our customers pay thousands for, and that's a language I didn't use any tutorial to learn. Meanwhile after spending a full hour trying to decipher this Perl code that just outputs a simple XML file, I'm just like "this is a waste of time" and re-wrote the whole thing in a couple days.
I'm not saying Perl is hard, I'm saying it's gibberish to anyone who didn't seriously try to learn it. You can't say the same of other languages. I have no doubt whatsoever that someone who learned Perl could pick up on any other language without much difficulty.
In particular, you did not learn how to program in javascript after spending 5 minutes on a tutorial. Just saying that tells me you don't know javascript and are bullshitting. Just understanding how "this" works takes more than 5 minutes.
For the record, I actually despise Javascript. It's a horrible language, but, at least it's easy to read. The only reason I know how to do anything with it at all is because it doesn't pull the weird crap Perl does.
All you're really telling us is you're not interested in spending the time to learn Perl, which is fine, but don't extrapolate your ignorance into a criticism of the language itself.
Second, I find it unreasonable to dislike something without good reason. If I were to just simply say "I don't like Perl so I don't want to learn it" that just makes me look like an asshole. So, I gave a reason.
Comment