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

Programmer Humor

30103 readers
2324 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
[โ€“] luciferofastora@feddit.org 1 points 3 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

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.