News for hackers. Stuff that matters.
Re:No YAML by rossy on Wednesday October 27, 2021 @09:42PM (#29021336)
There are other things that make JSON a bad configuration language with poor human readability and writability. Lack of multi-line strings is a big one. The requirement to put a comma after every array item and object member except the last has made me write more syntax errors in JSON than I've ever written in YAML. Also, JSON is unsuitable for config files with lots of Windows-format paths, since backslash is its escape character.
Re:No YAML by munificent on Thursday October 28, 2021 @12:28PM (#29027905)
All of that's true. But if it had comments, it would still be a better configuration language than YAML and TOML.