I have no problem with people coming up with legitimate issues with Perl. There are many issues that I could come up with that demonstrates a particular weakness in some area or other. The problem I had with this person's criticism, and the problem I have with most criticism of Perl, is that the author of the criticism is trying to compare apples and oranges and complaining that the orange isn't red and that its skin can't be easily bitten through.

Perl, as I mentioned, is fundamentally different from most languages in its approach to programming. It tries to think like you do. One of my biggest complaints regarding other languages is when they try to think like I do, they screw it up. Take VBScript's CDate function, for example:

myDate = Cdate( someval )
The format of "someval" is supposed to be determined by my computer's locale settings. If that setting requires a mm/dd/yy format and I pass that in, all's well in VBScript world. What if I accidentally pass "31/12/00"? VBScript figures that "31" is too large to be a month, so it treats it like a day and the resulting date become December 31st, 2000. What if I pass a null value? The date is set to December, 31, 1899. Well, that's just great. Now I have to write a bunch of extra validation to get around VBScript second-guessing what I intend.

Perl, on the other hand, seems to guess intelligently what I want. That's because of how it was designed. I can't think of any other language that I've worked with which does this.

Like I said, there are valid criticisms of Perl. If you need to write device drivers, GUI apps, or need raw speed, Perl's not for you. Perl even has problems on its own. Caller, for example, doesn't always work as advertised. OO-Perl is SLOW.

In short, Perl has legitimate problems and critics have every right to complain. However, if all they do is come up with the same tired, misunderstood arguments, then Perl advocates are going to point this out.

Please don't take this as the start of a flame war. I'm not trying to get anyone's goat and I apologize in advance if I have.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.


In reply to (Ovid) Re: Re: Perl's warts by Ovid
in thread Perl's warts by grinder

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.