Re:XML is better than YAML
by deafpolygon on Thursday September 21, 2023 @03:21AM
(#37594251)
Given this, I'd much rather XML any day. You can comment using <!-- Comment --> blocks.
I have zero problems with XML. Hard sell though.
It's annoying though because it's so mature compared to everything similar (even YAML, which I obviously quite like); like if you make an XSD for your config files everyone gets free editing features (not just validation, completion as well, even completion of attributes)
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.
(lots more)