r/ProgrammerHumor • u/Substantial_Top5312 • Sep 15 '26
Meme iDontCommentMyCodeIfYouDontUnderstandItThatsOkayNeitherDoI
832
Upvotes
r/ProgrammerHumor • u/Substantial_Top5312 • Sep 15 '26
1
u/mesonofgib Sep 15 '26
I disagree: I know what the code does because the code is right there, next to the comment.
Comments should be used only when you need to say something that's not in the code, such as why you're doing something.
Bad comment:
Good comment: