this post was submitted on 23 Oct 2026
1011 points (98.8% liked)

Programmer Humor

33756 readers
2213 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] HexDecimal@feddit.online 53 points 1 day ago (16 children)

As an open source project maintainer I can always tell whenever a pull request is AI assisted because no human would ever write full tests for all their pull requests.

[–] nykula@piefed.social 4 points 23 hours ago (2 children)

Libtcod? Cool project. Btw do those generated tests tend to be helpful or confusing?

[–] HexDecimal@feddit.online 8 points 22 hours ago* (last edited 21 hours ago) (1 children)

The important part is that the tests track regressions and they're helpful for that. After that, it's okay if tests are mostly write-only.

I've noticed that AI commentary tends to describe what the code is doing verbatim which is better for naming tests and functions rather than writing code comments, docstrings, or change notes. I usually have to fix this public-facing documentation to not talk about library internals which no user of the library would ever care about.

So far I feel that AI assists are good when you have the time and effort to push back on them, but that isn't an option for all projects, it works well for my own projects which have very few contributors in the first place. For the most part I can treat them with the same scrutiny as human written code. When the person submitting the code is obviously not checking their own code then that's a problem.

[–] OwOarchist@pawb.social -2 points 20 hours ago

When the person submitting the code is obviously not checking their own code then that’s a problem.

If you're getting a high volume of those, it's time to just ban those users and move on.

load more comments (13 replies)