this post was submitted on 12 Nov 2023
1054 points (97.6% liked)

Programmer Humor

19817 readers
65 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] GTG3000 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

They make sense.