1266
you are viewing a single comment's thread
view the rest of the comments
[-] WesternInfidels@feddit.online 60 points 2 days ago* (last edited 2 days ago)

I go back and look at my old code and find it clear and beautiful, easy to understand, a pleasure to read. "Ah yes," I'll say to myself, "that approach was clever and elegant. Gosh, past me was pretty smart!"

I like to appreciate it in this manner. Because that way, for a moment at least, I can forget about how it doesn't actually work.

[-] MonkderVierte@lemmy.zip 20 points 2 days ago

But it would work beautifully, if it would work.

[-] chocrates@piefed.world 5 points 2 days ago

I love when someone opens a bug in my code and I get to "how the hell did this ever work?"

[-] slazer2au@lemmy.world 5 points 2 days ago

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

[-] Addv4@lemmy.world 10 points 2 days ago

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 12 points 2 days ago

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

[-] Wirlocke 7 points 2 days ago

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 7 points 2 days ago

No, that is a healthy thing to do.

[-] Feathercrown@lemmy.world 3 points 2 days ago

It can work or it can look good, you can't have both

[-] scutiger@lemmy.world 13 points 2 days ago
[-] Feathercrown@lemmy.world 16 points 2 days ago
[-] foofiepie@lemmy.world 14 points 2 days ago

I recoiled in horror. Thanks.

[-] SaharaMaleikuhm@feddit.org 14 points 2 days ago

Yeah, JavaScript is a true nightmare

[-] WesternInfidels@feddit.online 3 points 2 days ago

This font is begging for some long s love

for (conſt item of imagetagſ)

[-] SpaceNoodle@lemmy.world 2 points 2 days ago

TFW you realize you haven't grown as an engineer

this post was submitted on 20 May 2026
1266 points (100.0% liked)

Programmer Humor

31528 readers
1232 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