Why ____ Is A Bad Language

chromatic on 2007-02-22T23:19:22

I hate uninformed advocacy almost as much as I hate foolishness. Here's my scorecard for Why perl is a bad language. The author:

  • Conflates reading speed with comprehension.
  • Elevates syntax above all other concerns of understanding such as naming conventions, API familiarity, and problem domain.
  • Argues from a very selective consensus from other programming languages.
  • Mentions but immediately dismisses the value of a specific area of customization despite the fact that it leads to less punctuation.
  • Weighs the experience of dilettantes much more heavily than serious users.
  • Fails to understand the difference between string and numeric comparisons.
  • Uses the phrase weakly typed as if it had any discernable meaning, without bothering to give even a local definition.
  • Demonstrates a stunning lack of familiarity with anything besides a static structural object system.
  • Draws an arbitrary strawman line that two ways to do something is better than five without giving an example.

On the plus side, at least the author spelled "Perl" correctly and didn't say anything stupid about "Why are there sigils? That is SOOOO confusing!"

Final score: 2/11.


A Never-Ending Battle

davebaker on 2007-02-23T04:36:57

I'm glad you participate in these discussions on Slashdot, c.

Generally your points don't seem to make much headway among those who have some visceral need to mock Perl -- probably no hope there -- but I expect there are many hackers like me who read your comments and gain more understanding about Perl's usefulness to a professional programmer and why it can make programming fun. I also notice that very few people argue with the points you make :)

Re:A Never-Ending Battle

chromatic on 2007-02-25T04:21:50

Thanks, Dave. It feels awfully frustrating from the responses, but I'm glad to hear that some of the silent majority of non-commenters finds some benefit.

That's it?

brian_d_foy on 2007-02-23T15:12:23

Sure Perl has stuff that's wrong with it and that might make it a bad language, but the stuff in that article is just weak. "Waaaah! I don't like interpolating variables! Don't make me use double quotes! Waaaah!" or "I used Perl for four years and still don't understand scalars! Math is hard! Waaaah!"

Different is bad.

stu42j on 2007-02-23T15:21:46

I particularly liked his argument about elsif. I'll admit that I've always had a hard time typing elsif correctly the first time (without the extra 'e') but how is 'elif' any better. I suppose it is shorter, if less readable, but isn't that supposed to be a bad thing?

I was also curious about his statement that "most other weakly typed languages get by just fine with using ==". I decided to look up PHP as an example. It seems that PHP does use == for all types but they had to add === to distinguish "equal" (same value) from "identical" (equal and same type).

Much of this guy's argument seems to be that Perl is bad because it is different than some other languages he has used.

BTW, here is my favorite anti-"Pearl" article:
http://www.adequacy.org/public/stories/2001.12.20.165434.32.html

Re:Different is bad.

chromatic on 2007-02-23T18:58:13

Much of this guy's argument seems to be that Perl is bad because it is different than some other languages he has used.

At least he didn't use the word "intuitive", which as far as I can tell means only slightly more than "strong typing" or "weak typing".