Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

First of all, a bit of background: I work for a company that is a near 100% Java shop. Most of the projects that they've done have had similar requirements to the ones you mention. After a long (well, 6 month) battle (its still ongoing, I assure you), I've managed to convince the software development lead to let me use Perl for a project.

I will also tell you that I do a lot of Java coding, unfortunately, Java and DB jobs are far more frequently found than Perl jobs, at least where I come from :o)

This post is one where I make some points about the differences between Java and Perl.. I'll tell you some other reasons that I used to convince my dev lead that trying out Perl is a good idea.

I know you've mentioned it before, but I can't stress enough on how incredibly useful it is to have a central repository of code like CPAN. That is one place where Java fails to some extent, because to be honest, most Java resources are pretty fragmented. From a software development perspective, there are two immediate advantages, there is a free code base to start on (most useful Java classes and beans cost big bucks), and its all in one place, so no one needs to search the Net looking for the best tool to do the job. So, there are immediate savings there.

The node referred above mentioned code size, and similar sentiments can be found throughout that thread and many others. Java is detail oriented, and well, the more code, the potential difficulties in debugging and maintenance are there..Perl is much better in that it can get the job done faster and smaller.

Performance and widespread use: just mention Slashdot, Perlmonks and other sites with lots of "eyeballs".. Perl has no difficulty handling large volumes of traffic.. and its widely used.

Its been my general observation (I've done and shown small tests to my dev lead) that DBI is generally faster than JDBC.. besides, one big problem that they (the java folk) encountered was that JDBC drivers for ODBC data sources that approached production quality, were expensive as well... so, database access is taken care of..

As for XML, well the project that I'm currently doing requires several large XML feeds to be parsed and thrown into a database. XML::Parser and all the higher level XML modules are readily available, and I've not found Java equivalents for all the diverse XML related modules found on CPAN.

So, in short, what I did with my project lead was ask what Java could do that Perl could not... and the answer is: not much.. Yes, Java has certified, standardized APIs and reams of documents supporting. Yes, Java is much further along threading than Perl is... but that is balanced by cost effectiveness, equivalent or better speed, and most times, much faster time to deliver (I'm betting that you're more productive than any two average Java programmers, even on a bad day ;o)

Summary of my long ramble:Perl is cheaper to use when considering the bells and whistles needed for a production system, faster to code, equivalent or better than Java at almost all jobs that you want to do.
As you can see, I convinced my lead mainly of the economic benefits of using Perl.(He heard me because its the era of tight budgets ;o) I know there are lots of programmers in my company who are my equal or superior in terms of skill, but I know I have the better tool for this kind of job (I'm doing something very similar with Perl now.. just no secure transactions), and that gives me a lot of confidence...

HTH, and good luck..! :o)

Update: Yes, I used the same links that dws pointed out, showed them to my lead too ;o)

Edited 2001-04-16 by Ovid


In reply to Re: Client prefers java, but wants to hear a case for Perl by tinman
in thread Client prefers java, but wants to hear a case for Perl by Ovid

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 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? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2022-08-10 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?