4 ms·
Because then you’d have to define its syntax and extension points. XML and namespaces solve that problem for you, so the only thing left for you to design is th
by pwdisswordfish6 6y ago
Because then you’d have to define its syntax and extension points. XML and namespaces solve that problem for you, so the only thing left for you to design is the actual structure of your data.
- wtetzner 6y agoExcept that's not what happened. They also had to define new syntax for the DSLs they embed in strings.
- pwdisswordfish6 6y agoTrue. But it would have been much harder if they had to define a syntax for the entire document. I imagine they thought that the path DSL is simple enough to parse (and I seem to vaguely recall PostScript has something similar), while the overhead of representing path nodes as XML elements would be too high.
- wtetzner 6y agoI'm not arguing against using an existing format, BTW, just seems like a weird mixture here. I can't help but think s-expressions would have been a better choice.