4 ms·
Weird, I nominated XSLT as my "most hated language" in the "What's your most hated language" poll a few days ago and got a few down votes. Now, this rant agains
by olalonde 15y ago
Weird, I nominated XSLT as my "most hated language" in the "What's your most hated language" poll a few days ago and got a few down votes. Now, this rant against XSLT is on the front page... Go figure!
- mindcrime 15y agoIn a world where RPG/III, RPG/400, RPG/IV, etc. exist, how can XSLT be anyone's "most hated language?" :-) All joking aside, I like XSLT just fine, as long as it's use is limited to exactly what it's good at: transforming XML documents from one schema to another. Yes, it's verbose if you write it by hand, and yes it would be nice to have something with all the power of XSLT and with a lighter syntax, but XSLT is hardly the worst thing around.
- mdaniel 15y ago> it would be nice to have something with all the power of XSLT and with a lighter syntax That thing you are looking for is XQuery (http://www.w3.org/TR/xquery/ http://www.w3.org/TR/xquery/) and it is fantastic. Don't be fooled by the name: it can produce content, too.
- mindcrime 15y agoYeah, I'm a little behind on XQuery, as I haven't been doing a lot of XML related work for the past couple of years, but I'm just now starting to play in that world again. I have some some reading up on XQuery recently and it's looking like neat stuff. I didn't realize that it was in any way a potential substitute for XSLT though. Guess I have some more studying to do...
- archangel_one 15y agoI think it's probably the worst language I've had the misfortune of having to write anything in. Certainly it was the one I enjoyed the least (even slightly less than Fortran 90 which was somewhat of an achievement), and I think it wins my "most hated language" because of the intersection of awfulness and the nonzero chance that I'd have to program in it. While there are almost certainly worse languages - COBOL certainly appears to be one - there's effectively zero chance that I'll ever write anything in them, hence they're more of an amusing curiosity than something I can hate. Whereas I've had to spend interminable days on XSLT in the past and unfortunately I can't say for sure that I'll never have to again.
- batista 15y agoYour only argument is "I had to use it and I hated it". Hardly an argument.
- andrewflnr 15y agoWe're talking about hate. Do they need an argument? Considering we're talking about hypothetical answers to an opinion poll, I think not.
- batista 15y ago>We're talking about hate. Do they need an argument? Blind hate is hardly something desirable. I'd say, yes, even hate needs an argument.
- archangel_one 15y agoI would at least like to claim that it wasn't blind hate; I have used XSLT before so it's partially sighted at least. And really, it's tongue in cheek. XSLT is a programming language, "hate" for such a thing only really goes as far as "I don't like working with it and hope I don't have to again".
- andrewflnr 15y agoRight. For our purposes, you no more need an argument to hate XSLT than you need one to hate chocolate. You tried it and didn't like it. Case closed. ;)
- codesuela 15y agoto be honest I wasn't even aware that something like XSLT existed up until now, when I saw articles referring to it I assumed it was a XML path descriptor like XPath edit: now that I've looked at it I remember seeing it before. I thought it was some crazy custom language invented by the authors of a script and it sent me running. Good to know that that's XSLT