this post was submitted on 12 Jul 2025
677 points (99.7% liked)

Programmer Humor

25009 readers
1080 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
[โ€“] tiredofsametab@fedia.io 19 points 3 days ago (1 children)

One of my teammates used AI (our company heavily encourages it) to write code. It did what it was supposed to and the tests passed, but it was the most ugly and unmaintainable shit ever. For one example, I don't want to have to untangle a for i = 0; i++; i <= len(foo) {} that has multiple ifs inside that separately increment and decrement the loop counter i when trying to troubleshoot an issue.

[โ€“] darthelmet@lemmy.world 10 points 2 days ago

Idk, sounds to me like it did a good job mimicking humans. :P