5 ms·
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
by pippy 14y ago
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'
}
- mcantelon 14y ago>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.