Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-23 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found