this post was submitted on 08 Sep 2024
1236 points (98.2% liked)

Programmer Humor

32472 readers
1062 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 2 months ago (9 children)

That's my biggest peev about JSON actually. No comments!! WTH!

[–] [email protected] 15 points 2 months ago* (last edited 2 months ago) (4 children)

On one hand I agree, on the other hand I just know that some people would immediately abuse it and put relevant data into comments.

[–] [email protected] 5 points 2 months ago (1 children)

This is why there are none, but I still think it's dumb. Parsers can't see comments anyways.

[–] [email protected] 9 points 2 months ago* (last edited 2 months ago)

That's assuming people actually use a parser and don't build their own "parser" to read values manually.

And before anyone asks: Yes, I've known people who did exactly that and to this day I'm still traumatized by that discovery.

But yes, comments would've been nice.

load more comments (2 replies)
load more comments (6 replies)