484
This is a glass (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] dan@upvote.au 8 points 3 days ago* (last edited 3 days ago)

AI loves inserting comments like this.

Either that or 20-line comments documenting the bugs in the old code, what this code does differently, and the exact implementation.

Comments describing the exact implementation become stale very quickly. Comments shouldn't explain what the code does (eg "add two to rowCount"); they should explain why it does it (eg "include header and footer row in count too"). Extra details are what the commit message is for, and history is what source control is for.

I call it out in a lot of my code reviews ("code looks good but clean up the AI slop comments before landing") but a lot of other developers don't care as much about code and documentation quality.

[-] partofthevoice@lemmy.zip 1 points 2 days ago

It really pisses me off when the fucking thing starts referring to the patched code as “updated” in the README, comments, function names… Stupid bot needs to be told not to implicitly refer to prior versions of the code, always regarding current state as initial release. Why the shit do I even need to say that?

this post was submitted on 28 Jul 2026
484 points (100.0% liked)

Programmer Humor

32547 readers
1153 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 3 years ago
MODERATORS