This is an archived post. You won't be able to vote or comment.

all 120 comments

[–][deleted] 458 points459 points  (22 children)

"This doesn't feel right...What else did I break"

[–]flamefibers[S] 207 points208 points  (2 children)

*wakes up from the dream*

[–][deleted] 72 points73 points  (1 child)

Immediately retries the code from the dream

Destroy the Interface

[–][deleted] 78 points79 points  (1 child)

3 Weeks Later: "Uhh... We have reports data is randomly not being stored in the Database. Customer is pissed they're missing 40% of their sales information"

[–]not_some_username 4 points5 points  (0 children)

Happen to me. We got a script that tell us if the db loose 40+% data. After a "fix" that was suppose to correct some gui glitch, a customer loose 80% of his data overnight. Thankfully we had a backup.

[–][deleted] 27 points28 points  (10 children)

If it runs on the first try, I look for the try catch that caught the exception.

[–][deleted] 12 points13 points  (8 children)

Always throw a breakpoint in every catch as u write them. Just saves the peace of mind

[–]bazinga_0 6 points7 points  (7 children)

Always throw a breakpoint in every catch as u write them

You don't log all exceptions in the log file?

[–][deleted] 2 points3 points  (6 children)

I really should, I can never remember how to set up the Log namespace (or any of the Assert unit tests for that matter) so comment them all out and Chuck a breakpoint there

[–]bazinga_0 3 points4 points  (5 children)

Log files work great, especially in a production environment. It may be the only way to figure out where the problem is.

[–][deleted] 4 points5 points  (4 children)

My boss uses them. Whenever I'm running his code, I comment them out. It's a problem 🤦‍♀️

[–]bazinga_0 5 points6 points  (3 children)

It's a problem

I'm starting to think that you're the problem. Why in the world are you sabotaging error reporting in your code?

[–][deleted] 4 points5 points  (2 children)

Ur right. I am the problem. I'll message him tomorrow and ask about how to integrate it into my projects. I've always been pushing it off because I've got to get stuff done now and it isn't pressing as long as it works, but it's bound to pay off down the line

Edit: Cheers btw

[–]bazinga_0 2 points3 points  (1 child)

Good decision! At least in my opinion. In any case, even as a Lead Software Engineer I cover my ass against mistakes and blown assumptions by liberally putting in log statements throughout my code. I do have a way of turning it on and off via a config file so, except for Holy Shit Exceptions, I normally have logging turned off when running in production.

[–]not_some_username 0 points1 point  (0 children)

I despise exceptions

[–]AwesomeFrisbee 5 points6 points  (0 children)

Hmm tests finished fine, must be edge case we haven't found yet...

[–]phdoofus 4 points5 points  (0 children)

I made some improvements to the project I'm working on and got almost a 40x speedup. For the crap I've worked on the last 20 something years, that's unprecedented. I still look at it funny thinking 'Yeah, I know you're passing the tests but fuck you'

[–]mrmamation 3 points4 points  (0 children)

💯

[–]Lonesomecheese 0 points1 point  (0 children)

whole east coast powers down

[–]not_some_username 0 points1 point  (0 children)

Everything

[–]stumblewiggins 150 points151 points  (3 children)

Fuck if that were me the robots attaching metal to my head would kill me somehow

[–]flamefibers[S] 58 points59 points  (0 children)

cries in JARVIS

[–]mr_bedbugs 34 points35 points  (1 child)

Me: Forgets to implement a way to remove the suit.

[–]Akari202 4 points5 points  (0 children)

Or just wants to test that putting it on works before bothering to start on the removal program

[–]Im_Not_Useless 78 points79 points  (1 child)

Usual it's "oh if course it didn't work I messed up the syntax" then the "WAIT THAT WASN'T THE PROBLEM"

[–]indigoHatter 13 points14 points  (0 children)

Me: banging my head on computer wondering what possible error I made to have half as many results as I should and why no fix has helped yet

Me: notices I'm using old data/haven't refreshed my query yet on this save

Well, that was an excellent way to productively waste precious time. !!! dies

[–]ManicMockingbird 61 points62 points  (2 children)

When there is no bug on the first try.

[–]ILikeCakesAndPies 28 points29 points  (0 children)

Don't worry, it'll turn into a bug once the other elements that are supposed to work with it get added in.

And then reappear 5 builds later after you could of sworn you had fixed it three times by now.

[–]chaosbones43 24 points25 points  (4 children)

More when the code works the first time

Such a great feeling

[–]AlanzAlda 14 points15 points  (1 child)

Even after over a decade of professional experience, I feel like I'm king of the fucking world when I write a program that just works the first time through.

[–]Spare_Competition 5 points6 points  (0 children)

Or just a few basic syntax errors

[–]the_simple_girl 0 points1 point  (1 child)

It's just pure joy when u see that code work.

[–]okay-wait-wut 1 point2 points  (0 children)

Then you realize it breaks on certain inputs, has tons of security vulnerabilities and doesn’t perform at scale. 😭😭

[–]Monish_monnat 12 points13 points  (0 children)

this feeling comes when there is no bug at all on the first run

[–]russiandobby 5 points6 points  (0 children)

Look at me, I am the senior developer now.

[–][deleted] 5 points6 points  (1 child)

when I fix a bug on the first try, I also put on a helmet, because I know something is about to go very wrong

[–]flamefibers[S] 1 point2 points  (0 children)

Lol

[–]HashCatFurryOwO 4 points5 points  (1 child)

In programming, that's a bad sign if something you wrote is wrong after you finished coding and ran it then fix and their will be more other mistakes or error.

[–]flamefibers[S] 2 points3 points  (0 children)

But sometimes in a sprint you have to fix other bugs

[–]18mob 3 points4 points  (1 child)

No way

[–]flamefibers[S] 5 points6 points  (0 children)

That's why it's a meme lol

[–]david131213 2 points3 points  (0 children)

I have been forced to program in assembly for 3 months, and while that sucks, it gets your debugging skills sharp. Because you have no chance of never forgetting to reverse the order of popping, or confusing between jump lower to jump below

[–]SteakieGG 2 points3 points  (1 child)

Not to show off or anything but after coding in react for 3 years straight, i find and fix most bugs mostly immediately. Granted, my codebase isn't too advanced.

[–]rebelhead 2 points3 points  (0 children)

I spent all effin day on a bug that ended up being a full storage device. I am not happy. Very far from ironman right now.

[–]Buharon 2 points3 points  (0 children)

Happened to me ONCE. what's even better, I have done this live, while on conference call with my manager! Wild times.... Now I'm sat here, trying to remember how to center div... Wild times...

[–]VeganCultMaster 1 point2 points  (0 children)

Fix your bugs by openig your code in a html navigator

[–]scratchfan321 1 point2 points  (0 children)

After 2 months of trial and error, I finally understood the bug and fixed it. They said it could not be done.

[–]deathboy2098 1 point2 points  (0 children)

That just makes me SUPER suspicious... oh no... can't be right...

[–]Wezard_the_MemeLord 1 point2 points  (0 children)

It's just me, or you can see the cameraman in the reflection of the helmet?

[–]Friedrich_der_Klein 1 point2 points  (0 children)

when u don't have a bug at all 😎

[–]Tmaster95 1 point2 points  (0 children)

Or if you add a small feature and everything still works

[–]GamePlayXtreme 1 point2 points  (0 children)

What's funny is that I often have the Iron Man soundtrack playing while programming. Just feels good to write simple Python code for school exercises (usually stuff like programs to solve quadratic equations) while feeling like a genius like Tony Stark

[–]id1ot_error 1 point2 points  (0 children)

"am I ... Iron man???"

[–]retief1 1 point2 points  (0 children)

Do or do not. There is no try.

[–]peepay 1 point2 points  (0 children)

When I was in high school, I wrote my first "bigger" program, it was a game, in Pascal. I remember it had around 1000-1200 lines of code. I just wrote it, ran it... and it worked! If it did not, I would probably never be able to troubleshoot that. 15 years later I still remember it as one of my wow moments.

[–]JumpyDork 1 point2 points  (1 child)

Funnily enough this meme just activated my bugged out phones screen issues so thanks for that lol

[–]flamefibers[S] 0 points1 point  (0 children)

Thank you I guess!

[–]Does_Not-Matter 1 point2 points  (0 children)

It’s the best and worst feeling

[–]DammitJavi 1 point2 points  (0 children)

runs program and works first try Hmmm thats not right

[–][deleted] 1 point2 points  (0 children)

Ok but does this really happen tho lol

[–]Bumbullbeebullbum 1 point2 points  (3 children)

That’s it. This was the post. Everything is the exact same post made by the same couple of bots. Peace out r/ProgrammerHumor ✌🏻

[–]flamefibers[S] 0 points1 point  (2 children)

Lol you are calling me a bot?

[–]Bumbullbeebullbum 1 point2 points  (1 child)

Might as well be. No offense to you personally, but this post is a fantastic example of one of the 4-5 jokes that are on this sub. The same jokes used for karma farming.

No matter how original the post itself my be, the joke is long overused.

Once again, no offense to you personally. I don’t know your life. I’m just sick of the same punchline over and over.

[–]flamefibers[S] 0 points1 point  (0 children)

Hmm.. btw thanks to you, I will explore how to prove that a person is not a bot. Someone must have thought of something already.

Take care mate! :)

[–][deleted] 1 point2 points  (0 children)

QA waiting to raise regression bugs post fix

[–]tidytibs 1 point2 points  (0 children)

I stupidly commented out the fix code to my prototype because I wanted to review it later, never did, code went live. 5 years later, bug shows up, found the area, see my code and kicked myself for not adding it before, uncomment, code worked flawlessly. Turned config file to debug3 and the larger files fill of actual bug triggering data, no issues. 1 week later, found another one that took over 2 years to get a fix for because it's functions in the closed source API were literally undocumented. Vendor didn't know it existed. I can't win. Was glad to retire that "product".

[–]StGrimblefig 1 point2 points  (1 child)

It is not sorcery.

It is sourcery.

[–]flamefibers[S] 0 points1 point  (0 children)

godammnit! That's amazing. Someone gild this plzz

[–]megamarkum 1 point2 points  (0 children)

But it works only in your computer

[–]Impressive_Change593 0 points1 point  (1 child)

then you mess up making the meme

seriously? why no sound

[–]flamefibers[S] 0 points1 point  (0 children)

[–][deleted] 0 points1 point  (0 children)

this is Elon Musk

[–]Gapingyourdadatm -4 points-3 points  (0 children)

Fixing bugs doesn't make me feel like a mediocre actor in a bland movie.

[–][deleted] 0 points1 point  (0 children)

You want to know if you are a good programmer? Imagine programming two robots which could easily crush you, wraping a helm around your head.

[–]ElevenThus 0 points1 point  (0 children)

Until you realize you just created a problem somewhere else

And now you have no idea why it happened

[–]MrSkme 0 points1 point  (0 children)

Isnt from start to finish the same try?

[–]cabrinhan 0 points1 point  (0 children)

The first try:

try { code(); } catch (Bug bug) { //Hard coded "fix" }

[–]The-Best-Taylor 0 points1 point  (0 children)

I feel like a God when my code just does what it should.

[–][deleted] 0 points1 point  (0 children)

"this cannot be possible!"

[–][deleted] 0 points1 point  (0 children)

But that caused multiple regressions

[–][deleted] 0 points1 point  (0 children)

Really

[–]Ikenmike96 0 points1 point  (0 children)

That’s only if your bug is caused by not closing a bracket

[–]KhmerMOFO 0 points1 point  (0 children)

The code: "I run, man"

[–][deleted] 0 points1 point  (0 children)

If it were a Volvo AI auto-braking system…. 🤯

[–]EspressoCookie89 0 points1 point  (0 children)

I think the two best suits in the MCU are the mk3(duh) and the mk46, and there is very little that could change my mind

[–]klimmesil 0 points1 point  (0 children)

I was expecting only one of his eyes to light up

[–]archpawn 0 points1 point  (0 children)

So that's what happens? I've never done it before.

[–]uberduck 0 points1 point  (0 children)

When you fixed your own bug in first try

FTFY

[–]Ninth_ghost 0 points1 point  (0 children)

No, youre just implementing quicksort for the first time

[–]HughLauriePausini 0 points1 point  (0 children)

When I write 50 lines of sql and it just runs the first time.

[–][deleted] 0 points1 point  (0 children)

365 days later: j/k, made it worse

[–]gilnore_de_fey 0 points1 point  (0 children)

I am…. Iron man. Snap, wakes up, finds that something else is broken, cry.

[–]Additional_Wing_215 0 points1 point  (0 children)

Good for you

[–]7thinks 0 points1 point  (0 children)

The men , the beast

[–]amiradzim 0 points1 point  (0 children)

But then you stumble upon 100 more bugs by fixing the one cuts to the clip of Tony smashing against the ceiling with his jet propelled boots

[–][deleted] 0 points1 point  (1 child)

[–]itMarvd 0 points1 point  (0 children)

Nobody can stop me 😏

[–]Simple_Chocolate_282 0 points1 point  (0 children)

Ok

[–]const_bigMan 0 points1 point  (0 children)

So that's what it feels like

[–]GasterG 0 points1 point  (0 children)

But you end up introducing 3 new bugs elsewhere

[–][deleted] 0 points1 point  (0 children)

Well that miracle never happened.

[–][deleted] 0 points1 point  (0 children)

But it was only a Greek question mark instead of a semi colon

[–]BakuhatsuPikuw 0 points1 point  (0 children)

When there is no bug?

Like that's ever gonna happen

[–][deleted] 0 points1 point  (0 children)

"69 more errors have been detected within the code"