39 ms·
Single quotes are useful for string contents containing many double quotes (e.g. XML).
by The_Colonel 2y ago
Single quotes are useful for string contents containing many double quotes (e.g. XML).
- bawolff 2y agoLots of things are useful. I think json has been succesful largely because it preferred minimalism over usefulness.
- The_Colonel 2y agoIt's not a binary choice. I don't think if Crockford chose a slightly larger subset of JavaScript for JSON (such as JSON5), it would hurt its adoption.