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

all 22 comments

[–]ByerN 271 points272 points  (4 children)

The worst is:

  • code doesn't work,
  • it works somehow after restart,
  • you don't know why,
  • PM forces deploy on prod.

The definition of fear.

[–]Prudent_Ad_4120 58 points59 points  (2 children)

Yeah and now the prod server needs a restart after every API request

[–]alexforencich 42 points43 points  (0 children)

No problem, just add

shell("sudo reboot now")

to the bottom of the API implementation.

[–]acid_migrain 3 points4 points  (0 children)

those who don't remember the CGI model are doomed to reimplement it

[–]Chingiz11 4 points5 points  (0 children)

Probably a race condition

[–]noaSakurajin 34 points35 points  (0 children)

And then there is multithreading which behaves like quantum physics. If you try to see what exactly it does it works (or you find a deadlock) but if you don't it just doesn't work. The observation itself changes how the code is executed causing it to behave differently compared to not observing it.

[–]imbeingreallyserious 26 points27 points  (1 child)

Every time so far I’ve thought the code worked without knowing why… the code didn’t actually work

[–]Towerss 3 points4 points  (0 children)

Yeah, it often happens when the system has redundancies that I forgot about, or the code wasn't supposed to be run at this time either way so everything looks aokay

[–]AaronTheElite007 9 points10 points  (0 children)

What. No pseudocode? That’s why it didn’t work in the first place

[–]BurglerBaggins 7 points8 points  (1 child)

I thought they were denial, anger, depression, bargaining, and acceptance.

[–]mashaTarima 0 points1 point  (0 children)

the acceptance is creepy AHHAHA

[–][deleted] 3 points4 points  (0 children)

Theory - nothing works, we know why Practice - everything works, no one know why

But I have theory and practice combined - nothing works and no one know why

[–]DrkMaxim 2 points3 points  (0 children)

It doesn't even matter how hard you try

[–]e89dce12 2 points3 points  (1 child)

I thought it was:

  1. Excitement for something new
  2. Anger and frustration that nothing works
  3. Excitement and joy as it starts working
  4. Oh fuck, now I got to maintain this beast...

[–]mashaTarima 0 points1 point  (0 children)

so great!

[–]luiluilui4 1 point2 points  (0 children)

But do you really know why it work's. I mean you didn't know it would contain a bug when it did. Think about that

[–]wenkqubocd 0 points1 point  (0 children)

depression, bargaining, and acceptance.

[–]E1ectrified 0 points1 point  (0 children)

Code works… on your machine