this post was submitted on 11 Apr 2026
247 points (98.8% liked)

Programmer Humor

30895 readers
1011 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
 
top 50 comments
sorted by: hot top controversial new old
[–] JATothrim_v2@programming.dev 2 points 9 hours ago

~~demons~~ ahem. data-races.

[–] sleepmode@lemmy.world 11 points 15 hours ago (1 children)

Trying to debug race conditions be like

[–] verdare@piefed.blahaj.zone 5 points 11 hours ago

Yuuup… Debugging concurrent code is a bitch.

[–] Blackmist@feddit.uk 15 points 16 hours ago (2 children)

You make a change. It doesn't fix it.

You change it back. The code now works.

[–] MummifiedClient5000@feddit.dk 1 points 8 hours ago

The code now ~~works~~ breaks in a new way.

[–] zerobot@lemmy.wtf 4 points 14 hours ago

the real fix was the journey, the destination never mattered

[–] copacetic@discuss.tchncs.de 58 points 21 hours ago (2 children)
[–] Rhaedas@fedia.io 13 points 21 hours ago (1 children)

I feel called out. I'm not sure which way I'd go.

[–] SpaceNoodle@lemmy.world 10 points 20 hours ago (1 children)

Get somebody else to pull it.

[–] 0ops@piefed.zip 9 points 20 hours ago

For science.

[–] Absolute_Axoltl@feddit.uk 5 points 19 hours ago

Me playing point and click games

[–] schema@lemmy.world 3 points 11 hours ago (1 children)

The absolute worst thing that can happen is if it suddenly starts working without doing anything

[–] Ravel@sh.itjust.works 2 points 8 hours ago

Sweet, push to production.

[–] rumschlumpel@feddit.org 22 points 21 hours ago (4 children)

But sometimes it works, or throws a different error ...

[–] einkorn@feddit.org 21 points 21 hours ago (1 children)

And a different error means progress!

[–] SpaceNoodle@lemmy.world 5 points 20 hours ago (1 children)

A different error each time?

[–] einkorn@feddit.org 1 points 18 hours ago

I refer to @floofloof@lemmy.ca comment.

[–] atopi@piefed.blahaj.zone 2 points 14 hours ago

you have to check if you are dealing with a bug or with a ghost

[–] floofloof@lemmy.ca 7 points 20 hours ago (1 children)

When it does a different crazy thing every time and you have no idea why, it means you're a genius and have created life.

[–] littleomid@feddit.org 2 points 15 hours ago

Or you’re coding in C.

[–] idunnololz@lemmy.world 3 points 17 hours ago

Actually tru. Damn preprocessors.

[–] endless_nameless@lemmy.world 7 points 17 hours ago

The error message goes stale when it's been sitting for a while. I need to see a fresh one.

[–] Kolanaki@pawb.social 12 points 19 hours ago (1 children)

Code doesn't work; don't know why.

Code works; don't know why.

[–] Skullgrid@lemmy.world 2 points 18 hours ago

Cargo Cult Programming is bad.

This is just how you use Visual Studio

[–] DahGangalang@infosec.pub 15 points 21 hours ago (1 children)

The usual for me is that I flip back over to my editor and hit ctrl+save, cause heaven forbid I ever remember to do that before running.

[–] jtrek@startrek.website 4 points 17 hours ago

I have no regrets from setting my editor to save-on-blur

[–] grue@lemmy.world 5 points 17 hours ago

When your Makefile is so fucked up that you have to run it multiple times to get everything to build and link properly.

[–] MsPenguinette@lemmy.world 9 points 19 hours ago (2 children)

You jest but “wait and retry” is such a powerful tool in my DevOps toolbox. First thing I tell junior engineers when they run across anything weird

[–] marlowe221@lemmy.world 4 points 16 hours ago

Honestly, in DevOpS, when you’re running stuff in a GitHub Action/Azure DevOps Pipeline/Jenkins, yeah… sometimes a run will fail for no obvious reason.

And then work the next time (and the next 100+ times after that) when you haven’t changed a damn thing.

[–] blarghly@lemmy.world 2 points 16 hours ago

"Maybe if we ignore the problem, it will go away"

[–] TabbsTheBat@pawb.social 13 points 21 hours ago (1 children)

The first one is to warm up the engine. Like getting your car ignition to kick over in the winter

[–] WanderingThoughts@europe.pub 5 points 17 hours ago

and sometimes that's exactly what's needed. Services wake up, connections get established and then when you try again things are up and it works.

[–] zerobot@lemmy.wtf 2 points 14 hours ago

sometimes it needs to warm up.. or cool down

[–] kubica@fedia.io 4 points 17 hours ago

Just making sure that the write buffer was flushed or something.

[–] marcos@lemmy.world 7 points 21 hours ago

Running the code again is fast and requires no thinking. Finding the problem is slow and requires a lot of thinking.

It's worth looking under the light-post in case your keys somehow rolled there. Just not for long.

[–] JakenVeina@midwest.social 7 points 21 hours ago

This would be more mockable if it didn't often WORK.

[–] Hisse@programming.dev 7 points 21 hours ago

You know, youve gotta give your computer some warmup.

[–] sbv@sh.itjust.works 5 points 20 hours ago

Computer needs practice to get program right.

[–] rem26_art@fedia.io 4 points 20 hours ago

gotta rule out cosimc rays flipping a bit or two

[–] abcdqfr@lemmy.world 4 points 21 hours ago (1 children)

Not sure which is worse. When you know you changed nothing and it inexplicably starts|stops working compared to yesterday

[–] Rhaedas@fedia.io 8 points 21 hours ago

Far worse, and this applies to more than programming. If something is broken, I want it to be consistent. Don't fix yourself, or sort of work but have a different effect. Break, and give me something to figure out, damn it.

[–] RustyNova@lemmy.world 4 points 21 hours ago

And run it with the debugger.

[–] masterspace@lemmy.ca 1 points 19 hours ago
[–] Skullgrid@lemmy.world 0 points 18 hours ago (1 children)

Or the code you are working on is calling a system that is currently unreliable which you cannot be responsible for.

Fuck test automation, it's a fucking trap get out of it as soon as you can

[–] jtrek@startrek.website 1 points 17 hours ago (1 children)

Fuck test automation, it’s a fucking trap get out of it as soon as you can

lol.

Meanwhile, the org I work at has no test automation, so things that should be trivial require hours of tedious, error-prone, manual testing. Also they break stuff and don't find out until after it's merged.

[–] Skullgrid@lemmy.world 1 points 17 hours ago (1 children)

This post has appeared in multiple places. It's useful , but it ruins the development career potential of people that stick with it, because any subsequent job application just sees "TESTER" and not "DEVELOPER" and bars you from changing specialization.

[–] jtrek@startrek.website 1 points 16 hours ago (1 children)

I've known several people who moved from QA and testing to developer roles, but usually as an internal transfer.

Most recruiters and management don't know shit about fuck when it comes to technical details, so it's not surprising a lot of them think "Oh the guy who knows how software works and how to handle edge cases? No, we don't want him"

[–] Skullgrid@lemmy.world 1 points 16 hours ago

moved from QA and testing to developer roles, but usually as an internal transfer.

yeah. My current company botched mine.

load more comments
view more: next ›