Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
It always amuses me when people choose to put down a language purely upon speed or based on an arbitrary benchmark. A recent node (Use Perl wisely, not cleverly) based its put down of Perl on a variety of reasons. Now ignoring the fact that the arguments used against Perl can just as easily be applied to Java and ASP (speed and memory) I do wonder why programmers or wannabe programmers get so hooked on speed and ram. Perhaps its a fast car thing that you grow out of ;).

There have been a handful of projects over the last five years that have required any kind of speed in their run. Aside from the fact that I used Perl in each case, I simply made use of the hardware and software (webserver, database etc) correctly and tried to use the best algorithm for the job.

Now I am fortunate that any intensive program I have written has had database, network and internet latency to compete with so the speed comparisons really become moot.

The point? Well a project I had to complete a while ago had to compete with a C++ multi-tier network system. The solution, replace with Perl. Why I hear you cry. Why use something that is so (tonque in cheek mode activated) bloated, slow, old, doesn't do (insert OO principle here) and hasn't had 6 O'Reilly books published on it in the last month alone?

Well, because we used it cleverly. Development time was reduced, debugging time went down from 3 weeks (or more!) to no more than a day, Perl was easy to teach to a larger audience and we were within 10% of the original C++ code speed.

So whats your point

Well my point is this. I'm glad your language has (insert feature here) and if I have to, I'll learn it and use it and do so happily.

But time and time again Perl has gotten the job done quickly enough and has allowed me to go home on time and have a life.

Think about that the next time you are still debugging a memory leak at 2am.

An afterthought

I do believe Perl can do most tasks, however I do know when and when not to use it (cleverly remember?). I just don't believe the speed arguments are justifiable.

In reply to OT: Use Perl wisely and cleverly by simon.proctor

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 chanting in the Monastery: (5)
As of 2024-04-16 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found