top | item 24130664

(no title)

Amicius | 5 years 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?

discuss

order

arp242|5 years ago

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.

hbogert|5 years ago

That still assumes that YAML actually is good for configuration icw logic