Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Efficiency in maintenance coding...

by dragonchild (Archbishop)
on Apr 25, 2004 at 18:37 UTC ( [id://347993]=note: print w/replies, xml ) Need Help??


in reply to Re: Efficiency in maintenance coding...
in thread Efficiency in maintenance coding...

First up, you have picked one of perls strongest features to beat one of Java's weakest. If you compared opening a window and displaying a list of selections, I think I know which language would come out ahead.

That's a loaded statement and you know it. I have been developing Perl applications to "open a window and display a list of selections" for almost 10 years, and it's really really easy. It requires a web browser and a web connection. Oh, is that what Java tends to require as well? Oh, do my CGI scripts work with more browsers and more OSes? Oops.

And, if you're talking about stand-alone systems, I've got a webpage that acts as its own secure server (though this only works with browsers that understand ActiveX). Oops, did I just beat you again?

*grins*

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: Re: Efficiency in maintenance coding...

Replies are listed 'Best First'.
Re: Re: Re: Efficiency in maintenance coding...
by jepri (Parson) on May 14, 2004 at 16:30 UTC
    *grin*

    A three year lag? This should be fun.

    My opinion hasn't really changed, even though I now know a bit more about Java. If you were thinking I was getting partisan about Java - don't. I don't like it much, mainly for the reasons eduardo gave.

    But that Java code can be rewritten to look a lot like the Perl code eduardo put up. Use some iterators, a wrapper for the regexes. We aren't exactly a community of people who can write good Java.

    The example code that gets released with libraries is usually childlike so everyone can understand it.

    The statement I made was loaded to show that Java isn't all bad. In your example, you've picked Perl's best applications area - CGI. CGI.pm existed before Java did, and has been baked well. Possibly you should compare CGI.pm to Tomcat and the like - the comparison might be a little closer.

    I don't see that there's anything in Java (or Python, etc) which prevents someone from writing modules that rival Perl's. I do see that the Java community is dedicated to a mediocre level of programming that the perl programmers around here couldn't lower themselves to, if they tried.

    I suspect that some of the smarter Java guys where I work could cram that example into a few lines - but they're not the kind of people who release their work, and that ultimately is where we really win.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2024-04-18 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found