Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JSON is a great data interchange format but I would veto it as an option for configuration files since it doesn't permit comments.


Actually it does, you just have to tilt your head right. :) See [1].

Either way, the principle stands. If a desktop environment wanted to standardize on JSON + C/C++-style comments, they could extend their standard parser easily enough without meaningful performance impact.

[1] http://stackoverflow.com/questions/244777/can-i-comment-a-js...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: