this post was submitted on 20 Aug 2023
1222 points (98.9% liked)

Programmer Humor

21016 readers
2052 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
[–] [email protected] 55 points 2 years ago (16 children)

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.

[–] zesty 18 points 2 years ago (5 children)

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.

[–] [email protected] 5 points 2 years ago

Not to mention the code and comment will inevitably become inconsistent with each other whenever someone forgets to update both.

load more comments (4 replies)
load more comments (14 replies)