this post was submitted on 11 Sep 2026
990 points (98.6% liked)

Programmer Humor

34208 readers
1249 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
[–] Aurenkin@sh.itjust.works 120 points 2 months ago (1 children)

Don't worry half of those will be useless code comments

[–] kubica@fedia.io 131 points 2 months ago (2 children)

// Here I'm not using that other thing that is now completely irrelevant, but I'll leave a comment to the non-existing thing anyway because I'm avoiding it.

[–] FishFace@piefed.social 19 points 2 months ago (1 children)

REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

[–] _stranger_@lemmy.world 26 points 2 months ago* (last edited 2 months ago) (1 children)

The comment:

# This code does exactly what you asked: Never change state, only fetch the state and return the difference

the code: hallucinated database table drops

[–] FishFace@piefed.social 5 points 2 months ago

This one I've not seen. It seems fairly ok at not going completely batshit like that. But the design, layout and comments tend to be awful. It's pretty good at solving isolated tasks though.

[–] bloubz@lemmygrad.ml 4 points 2 months ago* (last edited 2 months ago)

It seems you have a friend named Claude