2 ms·
> An XML document with a well-thought-out domain-specific DTD would solve all these problems; But then a YAML document written by disciplined and well-thinking
by makeitdouble 4y ago
> An XML document with a well-thought-out domain-specific DTD would solve all these problems;
But then a YAML document written by disciplined and well-thinking people will also not have these problems.
Any of the complex formats work well when used in the most fitting way and go horribly wrong when people try to benefit too much from the complexity. XML was also a nightmare when put in the wrong hand, just as yaml is, and the next hyped and turing complete document syntax will be.
- enw 4y agoIf something's too easy to misuse, it's bad design.
- makeitdouble 4y agoEase to use and ease to misuse usually come hand in hand. If we had very clear and static requirements I’d see languages/tools with more safeguards, fool proofing, optimized design etc. But we’ll never have that for configuration languages, and when aiming for flexibility you have to trust people to not shoot their own feet.