|
|
| There's more than one way to do things | |
| PerlMonks |
Re^2: Perl to Javaby 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.
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||