by ComputerGuru · 18y ago · 0 comments
XML is and was a great solution far a huge number of things. Overexcited developers were tad too eager to put it to use for things outside its true scope (regardless of what it was marketed as), and now they're realizing that there are better alternatives for those particular applications.
XML was and still remains an excellent solution for the problem it originally solved: a joint human and machine readable markup language.
XSLT happens to be my pet peeve. I simply can't understand how anyone would have ever looked at that problem ("how to turn a source data document into a presentation format" -- something that has been solved sanely a thousand times by obscure technologies like "scripts", or "PHP") and decided that the best way to handle it was a turing-complete pattern matching language written in XML itself! I mean, it looks more like a torture device than a programming language...
But transforming trees with a functional programming approach (not PHP) is a natural fit.