Because you're Good developer
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
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.
The absolute worst thing that can happen is if it suddenly starts working without doing anything
Sweet, push to production.
xkcd 242 obviously

I feel called out. I'm not sure which way I'd go.
Get somebody else to pull it.
For science.
Me playing point and click games
You make a change. It doesn't fix it.
You change it back. The code now works.
the real fix was the journey, the destination never mattered
The code now ~~works~~ breaks in a new way.
Trying to debug race conditions be like
Yuuup… Debugging concurrent code is a bitch.
But sometimes it works, or throws a different error ...
And a different error means progress!
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.
Or you’re coding in C.
you have to check if you are dealing with a bug or with a ghost
Actually tru. Damn preprocessors.
The error message goes stale when it's been sitting for a while. I need to see a fresh one.
Code doesn't work; don't know why.
Code works; don't know why.
Cargo Cult Programming is bad.
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.
I have no regrets from setting my editor to save-on-blur
The first one is to warm up the engine. Like getting your car ignition to kick over in the winter
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.
~~demons~~ ahem. data-races.
sometimes it needs to warm up.. or cool down
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
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.
"Maybe if we ignore the problem, it will go away"
You know, youve gotta give your computer some warmup.
Just making sure that the write buffer was flushed or something.
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.
Not sure which is worse. When you know you changed nothing and it inexplicably starts|stops working compared to yesterday
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.
When your Makefile is so fucked up that you have to run it multiple times to get everything to build and link properly.
This is just how you use Visual Studio
Computer needs practice to get program right.
gotta rule out cosimc rays flipping a bit or two
This would be more mockable if it didn't often WORK.
And run it with the debugger.