in reply to Is Perl worth it? How does perl deal with programmer folly?
I think a lot of the previous replies to your question were unhelpful: "Infinite loops are bad. Improve your skills." Well, if those possessing true code fu can always write bug-free C code, then why is it that people are still finding buffer-overflow bugs in 20-year-old BSD Unix code? An infinite loop is only one of the classes of bugs that you referred to.
Also, when you code in C and call someone else's toolbox, you are vulnerable to their bugs. If their code chokes on the parameters you passed and dumps core, then you're going to have a long, hard day ahead of you with a machine-level debugger. This kind of thing is much less of a problem with Perl calling Perl, since, e.g., there's no such thing as a dangling pointer crash.
Perl will not cure all your problems, but it may reduce them. I also enjoy the process of coding in Perl a lot more than I enjoyed C coding, because I can focus on creativity and problem-solving.
|
|---|