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

Programmer Humor

32710 readers
315 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 5 months ago (24 children)

Strong competition from yaml and json on this point however

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

JSON not supporting comments is a human rights violation

[–] [email protected] 15 points 5 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.

[–] CodexArcanum 4 points 5 months ago

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

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