this post was submitted on 20 Aug 2023
1225 points (98.9% liked)
Programmer Humor
19551 readers
1330 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
Code documentation is like sex, when it's good it's great, and when it's not good...it's still better then no documentation.
I disagree. When comments are essentially just a rephrasing of the class/method name or arguments it is not helpful and anything that is not helpful is cluttering up the code and making it harder to quickly see what the code is doing. I'd rather have no comments than comments like that.
Not to mention the code and comment will inevitably become inconsistent with each other whenever someone forgets to update both.