this post was submitted on 24 Feb 2026
620 points (97.8% liked)

Programmer Humor

30077 readers
1350 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
[–] AlexanderTheDead@lemmy.world 1 points 3 days ago (1 children)

I'm not a real programmer but I was wondering wtf you're on about because I don't think I've ever worked with a json file in a system that didn't use // for comments lmfao

[–] luciferofastora@feddit.org 1 points 2 days ago (1 children)
[–] AlexanderTheDead@lemmy.world 1 points 2 days ago (1 children)

I did say "I'm not a real programmer" heh 😮‍💨 I just thought // was standard for comments across all json files

[–] luciferofastora@feddit.org 1 points 2 days ago

No biggie, I just named an example. Even "real" programmers, whatever definition you want to use for that, don't know all languages.

But yes, many languages do use // as comments and particularly the Javascript environment it originally stems from does. Python (#) and SQL (--) are the only examples I interact with frequently enough to know off the top of my head (but SQL still recognises /* ... */ for delimited comments). XML/HTML also has <!-- --> for comments, but that's not so much a programming and more of a description language.