this post was submitted on 26 Nov 2023
703 points (89.4% liked)
Programmer Humor
19623 readers
6 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
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Comment only in extraordinary situations, when something you read can confuse someone. And by that I mean the business logic, not that you used a method that's confusing to people since they only know the basics of the language.
Honestly, after a few years of working with juniors (and being one myself before that), I have to disagree with the last part. Sure, it's fine for solo projects but people's programming skills can vary heavily. I know people who will pull the wildest C++ compile time tricks you've ever seen, but a pointer to a pointer would somehow break their brain.
I usually comment on whole groups of lines of code, so the goal of each part of the code is clear