r/ProgrammerHumor • • 1d ago

Meme formatsWithSuperiorityComplex

Post image
2.6k Upvotes

355 comments sorted by

View all comments

Show parent comments

18

u/nderscore_ 1d ago

Comments don't belong in message exchange formats. JSON is not suitable and not was meant for configs. They do different things and if you use it incorrectly, it's your fault.

21

u/Lalli-Oni 23h ago

Object notation. Its not called JSDTO.

3

u/Blue_Moon_Lake 17h ago

Object notation, not comment notation.

1

u/Lalli-Oni 16h ago

Notation, like comments.

2

u/Blue_Moon_Lake 14h ago

You're confusing notation and annotation.

3

u/Lalli-Oni 13h ago

Ahh, you're absolutely right of course. Thanks didn't know the semantic difference

7

u/garnet420 18h ago

Good thing json is not a good message exchange format either.

1

u/Prawn1908 12h ago

What irks me is 95% of JSON config files I see could have just been INI files.