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

Programmer Humor

32410 readers
1840 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] 26 points 2 months ago (24 children)

Strong competition from yaml and json on this point however

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

JSON not supporting comments is a human rights violation

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

IIRC, the original reason was to avoid people making custom parsing directives using comments. Then people did shit like "foo": "[!-- number=5 --]" instead.

[–] [email protected] 4 points 2 months ago

I've written Go code; they were right to fear.

load more comments (3 replies)
load more comments (21 replies)