Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: A Perl vs. Java fight brews

by Aristotle (Chancellor)
on Jul 24, 2006 at 19:58 UTC ( [id://563377]=note: print w/replies, xml ) Need Help??


in reply to Re: A Perl vs. Java fight brews
in thread A Perl vs. Java fight brews

I’d say Java has better tool support (debuggers, IDEs, refactoring, etc.) than Perl.

It also needs them far more badly than Perl. Not only is Java generally more verbose, but it is deliberately designed to prevent you from abstracting your code past a point. As a result, large Java systems grow quadratically with the number of interacting parts in the system – and without tools, well, you aren’t exactly lost, but it’s going to be really unfun.

(I was going to say that the only thing Perl is still missing is a really good graphical debugger for people who prefer working with them (I prefer logging, but I acknowledge that it’s not the same for everyone), but then I remembered Devel::ebug, and now I’m not entirely sure.)

So to the OP, I would suggest reimplementing some small but significant portion of the system in both Perl and Java, and see how large they grow. It is a demonstrated fact that bug counts are invariably linear with the size of the codebase, even though noone has a deep understanding of why; it is also common experience that maintenance effort grows faster than linearly with the bug count. Java solutions almost always cost more and take longer than ones written in a more expressive language. I’m not even advocating Perl in specific here – pick Python if you want to, just stay away from the Java albatross.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^3: A Perl vs. Java fight brews
by adrianh (Chancellor) on Jul 25, 2006 at 07:19 UTC
    It also needs them far more badly than Perl

    No argument from me there. I'd still like a good refactoring tool for Perl though.

      I'd still like a good refactoring tool for Perl though.
      Have you checked Perl::Critic?
      It can't automatically restructure your code (BTW I don't trust such tools), but for such actions a simple text editor is often sufficient.

      Ciao, Emanuele.
        Have you checked Perl::Critic?

        Yes. It's lovely - but nothing like a refactoring tool.

        It can't automatically restructure your code (BTW I don't trust such tools), but for such actions a simple text editor is often sufficient.

        I have to disagree. See Re^3: Features missing in perl IDEs?.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found