News for hackers. Stuff that matters.
Re:XML is better than YAML by vaylian on Thursday September 21, 2023 @05:09AM (#37595104)
No trailing commas makes editing JSON a pain
Re:XML is better than YAML by thaumasiotes on Thursday September 21, 2023 @06:41AM (#37595768)
The lack of trailing commas isn't the problem. The problem is the intermediary commas.

Those are used in JavaScript to give you the option to provide an expression in place of a single term. But that's not even allowed in JSON, so the commas aren't serving any purpose at all.