Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Re: Re: Efficiency in maintenance coding...

by jepri (Parson)
on May 14, 2004 at 16:30 UTC ( #353412=note: print w/replies, xml ) Need Help??

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


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. existed before Java did, and has been baked well. Possibly you should compare 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.

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

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://353412]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2018-06-21 03:56 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.