5 ms·
In the linked YouTube video talking about JSON: "People were putting instructions to the parser in comments... so I [removed] the comments." - Douglas Crockford
by danjc 4y ago
In the linked YouTube video talking about JSON: "People were putting instructions to the parser in comments... so I [removed] the comments." - Douglas Crockford.
Let the impact of that sink in - that decision has almost certainly literally cost millions of developer hours! In fact, the article actually claims that the lack of comments in part led to YAML itself so by implication...
I jest (sorta) but what a great example of an initially helpful decision having last consequences.
- wodenokoto 4y agoEvery time I’ve reached for yaml after being bitten by the Norway problem has been because I wrote comments in my json file and it failed be read.
- krapp 4y agoWow, you must really be forgetful. Maybe your productivity would improve with some post-it notes stuck next to your monitor, reminding you of the basics about how these formats work.
- chii 4y agoCrockford probably didn't imagine the idiocy of creating YAML to replace the lack of comments in JSON.