logoalt Hacker News

throw0101atoday at 11:35 AM1 replyview on HN

> I just wonder why JSON doesn't get all the hate, while it is a terrible format also: […] it doesn't have comments […]

The lack of comments in JSON is not a bug; comments in JSON were an anti-feature. Douglas Crockford intentionally removed them to prevent developers from using comments to store parsing directives (which he saw people doing in earlier revisions).

* https://web.archive.org/web/20120507093915/https://plus.goog...

* 2012: https://news.ycombinator.com/item?id=3912149


Replies

fluffybucktsnektoday at 11:40 AM

I'd say that only really strengthens OP's overall point of being about using "the wrong language for the wrong thing".