News for hackers. Stuff that matters.
Re:In Defense of COS, or Why I Love JSON and Hate XML by pippy on Sunday December 02, 2012 @05:19PM (#4862785)
Explicit is better than implicit. If you have to explain something you've probably written the JSON wrong.

You can always do this:

    {
        'people' : 10,
        'desc': 'People who will attend'
    }
Re:In Defense of COS, or Why I Love JSON and Hate XML by mcantelon on Sunday December 02, 2012 @06:02PM (#4862957)
>Explicit is better than implicit.

Which is why not intermingling comments with data makes sense.

>If you have to explain something you've probably written the JSON wrong.

You could say the same about code: "if you need to comment then your code isn't clear enough". In reality sometimes commenting code or data is helpful.