this post was submitted on 12 Nov 2023
1032 points (97.7% liked)

Programmer Humor

19111 readers
1363 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TheGiantKorean 5 points 10 months ago (1 children)

The fact that it allows comments is really, really handy. I used to be a JSON advocate until I realized this one useful piece of info.

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

Yeah, such a simple, but still killer feature. Really sad that JSON doesn't support them.

[–] TheGiantKorean 1 points 9 months ago (1 children)

I wonder how you'd even implement that. Like maybe {! At the beginning.

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

Most comment-aware JSON parsers I've seen just use standard // to delineate comment lines.

[–] TheGiantKorean 1 points 9 months ago

They make sense.