Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Having worked w/Perl, Java/JSP, and ASP/ASP.NET, I can sincerely state the following - Java and/or ASP are better because Sun/IBM/Microsoft have multi-million dollar marketing budgets that say they're better.

It's not unusual for developers to be passionate about languages and prejudiced in favor of or against various languages. I guess this is a side-effect of so many developers being INTJs. ;)

Bold generalizations follow, but I try to make them with an open mind and sense of fairness:

  • A Perl app can be written much faster than any comparable Java/.NET app when written by developers of comparable skill.
  • A Perl app will tend to run a little slower than a comparable Java (1.3 +)/.NET app when written by highly skilled developers.
  • Its anybody's guess how the performance of apps will compare when written by relatively low-skilled developers. Java and .NET have many performance traps for novice/indifferent developers. If I had a dollar for all the string-concatenation in loop problems, inappropriate use of reflection problems, poor use of the database problems, etc... that I've seen w/ Java and .NET, I'd have at least a mortgage payment. And I'm only counting code written by 'professional' developers.
  • Code quality has very little difference. Perl may even have an edge in many cases since it's so easy to get Perl to do what you want it to do w/o funky work-arounds or extra reams of code.
  • Maintainability is harder to assess. It can be hard for a team of developers to work with Perl, but its hard for a team to work in any language. Communication and documentation are what counts, here. Perl can be a 'Write-Once, Run-Only' language when it's written to be such, but it can be very understandable when written to be such.

The performance, quality, and maintainablity of any application is going to spring much more from the skill, talent, dedication and self-discipline of the developer(s) and the amount of quality design time that is put in than it will from the language/platform choice. Developers can produce something beautiful with Perl, Java, or .NET. They can also produce slow-running, unmaintainable crap with any of the three.

When someone asks me 'Why do you use Perl? Java or ASP is much better.', I ask them 'How did you come to that conclusion? Have you used both Perl and <language/platform x>?'

80 percent of the time the response is "No", possibly with some baloney about how CGI has to spawn a new process or "Perl is too hard to understand" or "Perl looks like line noise" or some hooey along the same lines.

Have no doubt that I like Perl, and I like it alot. Putting more tangible qualities aside, writing Perl is a lot more fun than writing Java or .NET. And fun matters when you spend all day coding. Perl values my time more. Perl doesn't make me sweat over the mundane. Perl is easy to learn yet difficult to master. Perl helps make the journey as enjoyable as the destination.

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"

In reply to Re: Arguments needed for comparision between Perl, ASP and Java by Art_XIV
in thread Arguments needed for comparision between Perl, ASP and Java by Gorby

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 contemplating the Monastery: (1)
As of 2024-04-24 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found