Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Sunday January 16, 2005
06:52 PM

Porting Lessons

[ #22738 ]

While it's certainly true that learning different languages (and different programming paradigms in general) will be beneficial to a programmer, it's interesting to see how well those lessons hit home while actually porting an application to a new language.

There's a small Java app that does things that I want to do, but I don't want to do them in Java. Unfortunately, Perl's complete lack of multi-method dispatch has introduced quite a few bugs that I've slowly worked through. On the flip side, the parser that the Java code implements inches through strings character by character. I'm doing a faithful port just to get things working, but it will be nice to eliminate that. And while I'm whining about Java:

while (! some.method.call())
  someVar++;

I wonder if someVar is an object attribute or a local variable? You can't tell just by looking at it (fortunately Perl 6 will not have this defect.) This has resulted in several other bugs that I have to fix.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.