this post was submitted on 17 Apr 2026
661 points (94.4% liked)
Programmer Humor
33253 readers
1395 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Very good! Your spidey senses are working perfectly. Hey I want to comment this calculation, why don't I move it into a function so the name can explain what it does. Good call!
Sometimes the algorithm is inlined for performance, sometimes it's a class with a bunch of functions that as a whole is primarily based on an algorithm, so comments might make sense in those cases. Most of the times it's a library, so the name of the library kinda gives it away and hopefully has good documentation as well.