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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Drop_All_Users@lemmy.world 56 points 1 year 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@lemmy.ca 18 points 1 year 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.

[–] farsightxr20@lemmy.world 5 points 1 year 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)