Details
-
SkillsJS, C#, Java ...
Joined devRant on 6/6/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!"
So, as the author of the code in question, I join the bridge... And what happens next, I will simply never forget.
First, a little backstory... Another team within our company needed some vendor client software installed and maintained across the enterprise. Multiple OSes (Linux, AIX, Solaris, HPUX, etc.), so packaging and consistent update methods were a a challenge. I wrote an entire set of utilities to install, update and generally maintain the software; intending all the time that this other team would eventually own the process and code. With this in mind, I wrote extensive documentation, and conducted a formal turnover / training season with the other team.
So, fast forward to when the other team now owns my code, has been trained on how to use it, including (perhaps most importantly) how to send out updates when the vendor released upgrades to the agent software.
Now, this other team had the responsibility of releasing their first update since I gave them the process. Very simple upgrade process, already fully automated. What could have gone so horribly wrong? Did something the vendor supplied break their client?
I asked for the log files from the upgrade process. They sent them, and they looked... wrong. Very, very wrong.
Did you run the code I gave you to do this update?
"Yes, your code is broken - fix it! Production is down! Rabble, rabble, rabble!"
So, I go into our code management tool and review the _actual_ script they ran. Sure enough, it is my code... But something is very wrong.
More than 2/3rds of my code... has been commented out. The code is "there"... but has been commented out so it is not being executed. WT-actual-F?!
I question this on the bridge line. Silence. I insist someone explain what is going on. Is this a joke? Is this some kind of work version of candid camera?
Finally someone breaks the silence and explains.
And this, my friends, is the part I will never forget.
"We wanted to look through your code before we ran the update. When we looked at it, there was some stuff we didn't understand, so we commented that stuff out."
You... you didn't... understand... my some of the code... so you... you didn't ask me about it... you didn't try to actually figure out what it did... you... commented it OUT?!
"Right, we figured it was better to only run the parts we understood... But now we ran it and everything is broken and you need to fix your code."
I cannot repeat the things I said next, even here on devRant. Let's just say that call did not go well.
So, lesson learned? If you don't know what some code does? Just comment that shit out. Then blame the original author when it doesn't work.
You just cannot make this kind of stuff up.105 -
Client: Can you help upgrade my machine to Windows 10?
Me: Sure
Client: I bought it in 2006, it still runs XP.
Me: Nevermind. -
6:00 pm, no spirit to code,
11:00 pm, no spirit to code,
0:00 am, i might sleep in early tonight,
1:00 am, just one function,
2:00 am, I'm A God.1 -
That feeling when your soul dies a little because you implemented it as you were told and not as it should have been.1
-
Documentation is like sex. When it's good, it's really good. When it's bad, it's better than nothing.5
-
*You can't make this shit up*
Recruiter: Hi, I saw your profile on LinkedIn and I think I have a great programmer opportunity for you today! Can you tell me a little bit about your experience?
Me: Sure, I mostly work with JavaScript and C# and have several years of experience in designing, developing, and deploying enterprise-level applications in production environments.
Recruiter: Hmm, um OK. Have you ever created programs using InDesign or Microsoft Word?
Me: Excuse me?
Recruiter: You know, anything like pamphlets or event brochures?
Me: Are you talking about physical paper programs such as those that accompany events/conferences?!
Recruiter: Yes! What else would I be taking about?
Me: I'm in the software development industry, so I thought you were talking about programming in that context.
Recruiter: Oh no! Those positions are for the men, sweety. I mean, I wouldn't expect any women to know that other techy stuff...
*Hangs up*44 -
Coolest project? Well, one time I had to take a dump while I was coding so I took the computer to the toilet with me and that was pretty exciting4
-
My girlfriend keeps dropping hints that I should commit, but I still haven't gotten around to learning to use git.7
-
Some data get lost during copy.The limit of clipboard exceeded so that's why pasted data is smaller :D1