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.
  • Using JavaScript as an embedded interpreter for Java is pretty useful as well, and you don't have any pesky browser issues to deal with. I use Rhino [] from the Mozilla project in a testing framework and it's quite easy to use Java objects in your JavaScript code -- I posted about it [] recently with code examples.

    Also interesting (if weird) is the E4X [] (ECMAScript for XML) specification -- Jon Udell wrote about it [] a few months ago. I haven't had a chance to use it yet -- apparently it's been implemented in both

    • That looks like another reason to like JavaScript -- and dislike Java. I can write code to easily use in Java, in JavaScript? Great! I can't benefit from JavaScript's dynamism by replacing methods? Ergh.

      I should "finish" learning Java (as much as I've learned Ruby or Python) so I can complain with more authority. Maybe now that I have a Mac, on which the Java system is less annoying. I hope.

      Anyway, in the end, I mostly write JS for work, where it has to run on MSIE. I said to my boss, wistfully, today, "I wish we could just use Firefox internally."

      I was just spewing, but he said, "I'm not sold on it. It locks up on me more than IE. And I don't like tabs."
      • Learning Java is just a waste of time. There are more interesting things to learn out there, such as SML (mlton), ocaml, and haskell. :)

        Unless you want resume fodder, I suppose.

        I learned Java once, but have thankfully forgotten most of it.