3 ms·
Greatly simplified the parser? It's probably 10 lines of code.
by gnuvince 15y ago
Greatly simplified the parser? It's probably 10 lines of code.
- webignition 15y agoThat'll be 10 * K lines of code, where K is the underestimation factor. Not to mention N unit tests to cover comment removal verification.
- doomslice 15y agohttp://coding.smashingmagazine.com/2012/04/27/yahoos-doug-crockford-on-javascript/ http://coding.smashingmagazine.com/2012/04/27/yahoos-doug-cr... "One interesting story about leaving things out: as we got closer to releasing JSON I decided to take out the ability to do comments. When translating JSON into other languages, often times the commenting piece was the most complicated part. By taking the commenting out we reduced the complexity of the parsers by half—everything else was just too simple."