3 ms·
Major irritant: Commas I thought the major irritant was having to add double-quotes around keys? Commas never bothered me personally, but having to use d
by emilsedgh 10y ago
Major irritant: Commas
I thought the major irritant was having to add double-quotes around keys? Commas never bothered me personally, but having to use double quotes is actually irritating.
- espadrine 10y agoIt comes from the flow of edition: remove the last element of a list (which typically is on its own line), forget about the fact that there is a comma at the end of the previous line. But both optional commas and optional double-quotes are provided by Hjson <https://hjson.org/> https://hjson.org/>. They do not advocate its use in protocols, however.
- smcl 10y agoI was thinking the same thing - maybe I haven't hand-edited enough JSON but I have never felt like commas were any sort of issue at all
- oxplot 10y agoInability to add trailing commas creates two problems: - You can forget to drop/add comma when copying an existing line - Adding/Removing last element shows up as two changes in diff