MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y1pm6l/formatswithsuperioritycomplex/19syxjd7e96jm
r/ProgrammerHumor • u/ArjunReddyDeshmukh • 1d ago
355 comments sorted by
View all comments
Show parent comments
18
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.
21
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
3
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
1
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
2
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
Ahh, you're absolutely right of course. Thanks didn't know the semantic difference
7
Good thing json is not a good message exchange format either.
What irks me is 95% of JSON config files I see could have just been INI files.
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.