Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
There's more than one way to do things
 
PerlMonks  

Re^2: Perl to Java

by hv (Prior)
on Aug 11, 2004 at 07:18 UTC ( [id://381939]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Perl to Java
in thread Perl to Java

Further, the languages are so different that it isn't just "idiomatic code" that changes, but also "idiomatic design" - an appropriate design for a Perl implementation probably won't be an appropriate design for a Java implementation.

If you need Java code to perform similar functionality, put your Perl code to one side and start again. The knowledge gained when writing the Perl version will help you in some respects; the prejudices gained while writing the Perl version will hinder you in other respects.

Learning to spot these helps and hindrances, and to grasp or avoid them - to approach the same problem from a genuinely fresh standpoint without throwing away everything you know - is a skill worth acquiring for any programmer.

Hugo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://381939]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.