▲ | xyz_opinion 3 days ago | ||||||||||||||||||||||||||||||||||
XSLT is not a programming language. It's a declarative transform for XML, and when you need such a thing, it is extremely useful. | |||||||||||||||||||||||||||||||||||
▲ | peterhunt 3 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
Let's see: - Variable scoping https://developer.mozilla.org/en-US/docs/Web/XML/XSLT/Refere... - Function definition and application https://developer.mozilla.org/en-US/docs/Web/XML/XSLT/Refere... - Flow control https://developer.mozilla.org/en-US/docs/Web/XML/XSLT/Refere... - Loops https://developer.mozilla.org/en-US/docs/Web/XML/XSLT/Refere... - Module system https://developer.mozilla.org/en-US/docs/Web/XML/XSLT/Refere... Yep, it's a programming language. And not a great one! | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | mcswell 2 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
On what grounds do you contend that it's not a programming language? There are other declarative programming languages, like Prolog, so I fail to see how the fact that it's a "declarative transform" makes it any less of a programming language. |