this post was submitted on 11 Apr 2026
582 points (99.2% liked)

Programmer Humor

30993 readers
821 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
[–] sunbeam60@feddit.uk 11 points 5 days ago (1 children)

Ah, come on this is valid investigation.

If you get the same error every time, you know you can find it and debug it, somewhat with ease.

If you don’t, you might have a thornier issue at hand.

I hate how stupid and obvious this is, but we all do it at least once if the compile is short. But with a 20 min compile, I am investigating.

[–] Blackmist@feddit.uk 31 points 6 days ago (2 children)

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

You change it back. The code now works.

[–] zerobot@lemmy.wtf 10 points 6 days ago

the real fix was the journey, the destination never mattered

[–] MummifiedClient5000@feddit.dk 2 points 6 days ago

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

[–] sleepmode@lemmy.world 22 points 6 days ago (1 children)

Trying to debug race conditions be like

[–] verdare@piefed.blahaj.zone 10 points 6 days ago

Yuuup… Debugging concurrent code is a bitch.

[–] schema@lemmy.world 15 points 6 days ago (1 children)

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

[–] Ravel@sh.itjust.works 8 points 6 days ago

Sweet, push to production.

I started coding professionally using Visual Basic (3!). Everybody made fun of VB's On Error Resume Next "solution" to error handling, which basically said if something goes wrong just move on to the next line of code. But apparently nobody knew about On Error Resume, which basically said if something goes wrong just execute the offending line again. This would of course manifest itself as a locked app and usually a rapidly-expanding memory footprint until the computer crashed. Basically the automated version of this meme.

BTW just to defend VB a little bit, you didn't actually have to use On Error Resume Next, you could do On Error Goto errorHandler and then put the errorHandler label at the bottom of your routine (after an Exit Sub) and do actual structured error handling. Not that anybody in the VB world ever actually did this.

[–] endless_nameless@lemmy.world 14 points 6 days ago

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

[–] Alberat@lemmy.world 2 points 5 days ago

sometimes you don't compile it enthusiastically enough

[–] kubica@fedia.io 8 points 6 days ago

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

[–] zerobot@lemmy.wtf 6 points 6 days ago

sometimes it needs to warm up.. or cool down

[–] grue@lemmy.world 6 points 6 days ago

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

[–] vrighter@discuss.tchncs.de 1 points 5 days ago

does it count if i run it again, but with a debugger attached?

[–] meekah@discuss.tchncs.de 1 points 5 days ago

This genuinely happens regularly in our testing environment 🥲

[–] Shaker_dev@programming.dev 2 points 6 days ago* (last edited 6 days ago)

Because you're Good developer

[–] JATothrim_v2@programming.dev 2 points 6 days ago

~~demons~~ ahem. data-races.

This is just how you use Visual Studio

[–] Skullgrid@lemmy.world 1 points 6 days 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 3 points 6 days 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 6 days 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 6 days 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 6 days ago

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

yeah. My current company botched mine.

[–] copacetic@discuss.tchncs.de 120 points 1 week ago (3 children)
[–] Absolute_Axoltl@feddit.uk 11 points 6 days ago

Me playing point and click games

You know what this is based AF because if you don’t do it a second time how would you know if it wasn’t a weird edge case or a race condition or maybe you just didn’t internalize the cause and effect because you weren’t looking for it until a bug appeared

[–] Rhaedas@fedia.io 28 points 1 week ago (1 children)

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

[–] SpaceNoodle@lemmy.world 27 points 1 week ago (1 children)

Get somebody else to pull it.

load more comments (1 replies)
[–] rumschlumpel@feddit.org 49 points 1 week ago (5 children)

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

[–] idunnololz@lemmy.world 6 points 6 days ago

Actually tru. Damn preprocessors.

[–] atopi@piefed.blahaj.zone 5 points 6 days ago

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

[–] einkorn@feddit.org 42 points 1 week ago (2 children)

And a different error means progress!

load more comments (2 replies)
load more comments (2 replies)
[–] DahGangalang@infosec.pub 26 points 1 week 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 8 points 6 days ago

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

load more comments
view more: next ›