4 ms·
absolutely, 100%. When I first encountered XSLT I seriously thought it was the most ridiculous thing I had ever seen. A frickin' programming language whose sy
by PH95VuimJjqBqy 3y ago
absolutely, 100%.
When I first encountered XSLT I seriously thought it was the most ridiculous thing I had ever seen. A frickin' programming language whose syntax was XML.
But then I learned it and I don't think I've ever seen another language that could do what XSLT could do in such a small amount of code. The trick was to treat it like a functional language (I got this advice from someone else and they were absolutely correct). Where most people got into trouble was thinking of it as an imperative language.
Pattern matching expressions is the kool kid on the block, but XSLT had that to the nth degree 20 years ago.