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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
other uses for JavaScript (Score:2)
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 [mozilla.org] 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 [perl.org] recently with code examples.
Also interesting (if weird) is the E4X [ecma-international.org] (ECMAScript for XML) specification -- Jon Udell wrote about it [infoworld.com] a few months ago. I haven't had a chance to use it yet -- apparently it's been implemented in both
Re:other uses for JavaScript (Score:1)
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."
rjbs
Reply to This
Parent
Re:other uses for JavaScript (Score:1)
Unless you want resume fodder, I suppose.
I learned Java once, but have thankfully forgotten most of it.