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.
  • Nice graphic! (Score:3, Interesting)

    by mir (51) <> on 2002.08.18 12:43 (#11907) Homepage Journal
    I must say that I have no problem with the DOM class hierarchy. An XML document is quite a complex thing and I think the DOM does a good job at modeling it.
    I hate the API though, or at least I hate the fact that everybody uses the Java version of the API (even in Perl!), and I think it sucks as a general XML tree-transformation tool.
    The oft-heard argument that it makes sense to have the same API in different languages so people can go from one to the other is IMHO ridiculous. If you want a Java API then use Java, and when you code in Perl use a Perl API. Why not include C's ridiculous for( i=0; i++; i<2) in Perl, and throw away our beloved arrow so method calls "look more like Java's"? Wait... ;-) (just to make it clear: I love the arrow and the argument IS ridiculous)