3 ms·
I like s-expressions. But this guy makes a slightly odd argument that doesn't help his cause at all. He basically says XML is too complex, but s-expressions are
by fauigerzigerk 19y ago
I like s-expressions. But this guy makes a slightly odd argument that doesn't help his cause at all. He basically says XML is too complex, but s-expressions are really simple if you are an experienced lisp hacker. Otherwise, so he says, "this is going to get really hard really quickly".
- Goladus 19y agoActually he basically says XML is a complex, unpredictable mess that is not actually extensible; while s-expressions are simple, stable, and extensible. (Though extending them is still a somewhat advanced topic.)
- olavk 19y agoHe is kind of right, since he is talking a about extending the basic XML _syntax_, not about creating or extending XML vocabularies. Obviously his solution with reader macros only works in Lisp, and he seem to be proud about that, but it kind of defeats the purpose of a platform-independent exchange format.
- omouse 19y agoXML is a pain to parse properly. Have you seen how large XML libraries are? It's also complex in the fact that it adds extra bytes. Imagine a 10 Mb XML file....now figure out how much of that is space wasted on closing tags.
- olavk 19y agoXML syntax has a certain amount of redundancy. This is a feature which makes it easier to manually write or edit XML using a simple text editor, which is one of the use cases that XML was designed to support.