26
Boogie
5y

It's about a guy that knows better.

I was working as a subcontractor on a bigger system. We (subs) were not allowed to deploy code, we had to wait for contractor to deploy.

One day I got an email that my code is bugged and that my feature is not working on production. I checked it on test env, everything was fine. Then I checked if the code I wrote was deployed. It was not.

I send an email explaining that if they deployed my code it would be working. Then I got a response. There was a bug in my code.

Another email. I asked how would they know? Do they have a test on their environment that failed?

No. There is one guy that READ my code and he said it should not work, so he will not deploy it. He was not a programmer, he was a business consultant responsible for the documentation.

His issue was that I used a function that was not in a class. So if the function is not declared it's obvious it will not work. I had to explain to him in another email, that you can use object of another class inside your class and then call a function, that is not in your class. It was the last time this guy blocked my deploy.

TL;DR, I had to explain a non-dev how object composition works in order to have my code deployed. Took four emails.

Comments
  • 5
    1) Welcome to dR
    2) Welp. At least he deployed the code in the end. But this is....just....can we get some facepalms?
  • 1
    @PythonTryHard Hi, thanks for welcome :) I only wonder, how many devs before me had to explain their code to him. I think that may be the way he learns coding.
  • 0
    What. The. Fuck.

    ... is wrong with some cunts?!!!
    Do they wake up in the morning, stretch, yawn and say to themselves “ Now... How can I be the best ignorant egotistical motherfucker in denial of my own ability and fuck up someone else’s day today?”
  • 1
    ahn... what was this guy doing reading the code in the first place if he's not a dev?
Add Comment