Slash Boxes
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • /me wonders if you can prototype in Perl and then convert to Java. :-)

  • I think you'll find that this is suitably frowned upon in Josh Bloch's Effective Java []. If you don't have a copy around, I'd really recommend picking up a copy if you're going to be coding Java at all.

    You might also like his Java Puzzlers [], which is entertaining if less essential reading.

    And why not look into Scala [] whilst you're on the JVM? I find it very Perlish in many ways. :)

  • Anyone who is a competent Perl OO programmer can knock out Java classes with a little help from IDEA and/or Eclipse.

  • Personally I would prefer to use Perl6 parameters for this with a little bit of type checking thrown in:

    Rectangle(Int $x = 0, Int $y = 0, Int $width = 0, Int $height = 0)

    You can always use Perl6::Subs;