this post was submitted on 20 May 2026
1075 points (99.8% liked)

Programmer Humor

31505 readers
2293 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
[–] slazer2au@lemmy.world 5 points 1 day ago (2 children)

That's what happens when you take your code from a Stack Overflow question.

[–] Addv4@lemmy.world 9 points 1 day ago (1 children)

Don't forget AI (that scraped Stack overflow) providing a slightly different basic solution, that usually works (at least until you think about improving it).

[–] slazer2au@lemmy.world 9 points 1 day ago

And that is before it hallucinates a package that has been typo squatted by malware authors.

[–] Wirlocke@lemmy.blahaj.zone 6 points 1 day ago (1 children)

Am I the only one too paranoid to ever copy paste code from the internet and/or AI?

Code that I don't understand feels like a dead pixel when I try to picture the whole piece of software in my head. I even search for what all those one letter flags mean for a command or function before I feel confident in using it.

[–] slazer2au@lemmy.world 5 points 1 day ago

No, that is a healthy thing to do.