Hacker News new | ask | show | jobs
by Amicius 2139 days ago
One of the criticisms I heard recently about YAML is that there's no way to know if you received a full document or just a fragment since there's no grammatical structure for indicating the document is complete. While JSON and XML are far more verbose at least it's obvious if you didn't get the full document on transmission. Perhaps a compromise could be to use YAML as a compositional tool to emit XML or another more formal configuration format?
2 comments

I feel this is kind of a minor issue; the far bigger issue that this article talks about is that the declarative YAML format is used as a programming language, which it's clearly not.
That still assumes that YAML actually is good for configuration icw logic