News for hackers. Stuff that matters.
Re:Why YAML is used for configuration when it's so bad, what... by Amicius on Wednesday August 12, 2020 @07:00AM (#24130664)
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?
Re:Why YAML is used for configuration when it's so bad, what... by arp242 on Wednesday August 12, 2020 @07:58AM (#24131126)
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.
Re:Why YAML is used for configuration when it's so bad, what... by hbogert on Wednesday August 12, 2020 @07:10AM (#24130743)
That still assumes that YAML actually is good for configuration icw logic