3 ms·
Sounds like declarative pattern matching which sounds just great to me [0]. I won't deny that XML sucks to write. But I'm not yet ready to throw the baby out w
by nerdponx 6y ago
Sounds like declarative pattern matching which sounds just great to me [0].
I won't deny that XML sucks to write. But I'm not yet ready to throw the baby out with the bathwater.
Maybe we keep using XML as a machine-readable serialization format (and XSLT as serialization of pattern-matching data transformations!) and people use native data structures in their own programming languages. Or we all switch to S-expressions.
0: https://github.com/noprompt/meander https://github.com/noprompt/meander
- lifthrasiir 6y agoPattern matching is great, but probably not if everything is pattern matching. Also I'm okay with XML as long as it doesn't power an urge to make everything XML and everything connected via the semantic web (lol). XSLT is a remnant of that urge and should have been a non-XML-based language. (The same criticism applies to, e.g. RDF vs. Notation3.)
- nerdponx 6y agoVery good point. Sexprs for all!