Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: When to use perl

by cciulla (Friar)
on May 30, 2003 at 22:20 UTC ( [id://261969]=note: print w/replies, xml ) Need Help??


in reply to When to use perl

At my own peril, I'll respond in the affirmative.

Perl is a great tool. So is Java... Python... COBOL... Each tool has its strength and weakness. One can write application X in language Y, just like one can use a hammer to drive screws.

I worked with one guy who was the resident expert on Lotus Notes. He kept on and on about how great Notes was. He would get irate if it was even suggested that Notes wasn't the greatest tool ever made.

Over the course of discussing an issue he was having, this guy said that he had been working on this particular application... for the same client... for over four years. Yes, this was his primary client.

I found out later that he was a former FoxPro guy who used FoxPro for everything, whether it called for it or not... Until Notes became his new hammer.

The caveat is... if your salary depends upon sculpting with a screwdriver, pick up a set or find someplace that knows how the tool is supposed to be used.

Replies are listed 'Best First'.
Re: Re: When to use perl
by Anonymous Monk on May 31, 2003 at 05:20 UTC
    Perl is a great tool. So is Java... Python... COBOL... Each tool has its strength and weakness.

    COBOL has no advantages. COBOL needs no advantages.

    The politically correct trend towards "the right tool for the job mentality" is getting a bit out of hand. Sure it prevents a few flamefests (and quality discussions about language design), but really, what can Perl/Python/Ruby/Java/ that Java/Ruby/Python/Perl can't? They're so similar it comes down to what your developers already know well, speed/efficiency, and platform support. The four languages I list are in the same category for speed, efficiency, and portability concerns, so it isn't really an issue either. They're all the same slot screwdriver, just different brand names in different colors. Pick the one you find most pretty and are most familiar with.

      Although I wouldn't catagorize "right tool for the job" as "politically correct", you do bring up a valid point. With a caveat.

      Pick the one you find most pretty and are most familiar with.

      I concur that when the developer has the latitude to choose how the work is done, then pick the tool that you are most comfortable with.

      Unless you are your own customer, this doesn't occur often as your customer will have (for good or evil) a standard development platform. Apparently, the OP's boss found that rare customer, and chose perl.

      The OP has a choice: use perl, beat feet, or suggest that another tool may be in order. Needless to say, the last two are very closely related.

      On my current assignment, my customer chose WebLogic, Java, and SQL Server. While I am within my rights to use perl to automate some of the more tedious aspects of development, I would be entirely out of line to put any of this into production.

      If I felt strongly about implementing a solution in some other tool, it is my responsibility to recommend this to my customer. It is equally my responsibility to abide by their decision, or move on.

      COBOL has no advantages. COBOL needs no advantages.

      I disagree. While my personal preference is never to look at COBOL again, if my job depends on me dusting off my Stern & Stern, guess what I'll be doing.

      Bottom line: "Him that pays, says."

      COBOL has no advantages. COBOL needs no advantages.

      When a company has several million lines of working COBOL code that the organisation relies on for daily operations then COBOL has an advantage :-)

        I agree with you 100% adrianh. I work for one such company that has about a million lines of legacy COBOL code that is relied apon for daily operations :-)

        -- vek --

        When I started with my company, continuing to today in fact, all our register programs were written in COBOL, so I programed in COBOL.

        Saying this, I would love to see these programs redone in C, C++, or almost anything else.

        "Pain is weakness leaving the body, I find myself in pain everyday" -me

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://261969]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found