Comment by nikeee

4 months ago

> Optional key quotes

Why are they optional? Why not just make them mandatory? So I don't need to guess which chars need quotes.

Edit: What most languages also lack: semantics on de-serialization. In the best case, I want to preserve formatting and stuff when the config is changed/re-committed programmatically.

Because it's supposed to be pleasant for humans and quoting keys is the least pleasant part of jsom config files.

  • What's so unpleasant about quoting a key?

    • Two extra characters per rep, each involving a "shift", and it's furthermore an eyesore to read

      How is it that the comments on this post seem to consist 100% of people who think JSON is the perfect language and that any deviation from it is an unnecessary complexity? Use JSON for configuration for literally 5 minutes and you will get annoyed at quoting keys, lacking comments, escaping long strings, and juggling commas. MAML is almost exactly what I'd come up with (although I wouldn't have made commas optional, that feels weird.)

      1 reply →