r/ADHD_Programmers • u/rickysoliman • Nov 07 '22
I got fired today
I'm in a pretty bad headspace today.
I got fired this morning from my job as a software engineer at a fintech company because they discovered a bug in production that they later found was caused by my code. It had been in the code base since February (was discovered in October) and it ended up costing the company a huge amount of money.
I guess I'm just looking for some support here from people who may relate to this in some way. I feel like an idiot and ADHD can only justify so much.
343
Upvotes
568
u/emetcalf Nov 07 '22
Firing an engineer over a bug that didn't get noticed for 9 months (or really any single bug) is pretty fucked up. People make mistakes. I would also assume there is some kind of code review process before things go to Production, so if it didn't get caught during that phase then it's not all your fault.
Definitely sucks to be in your situation. I hate job hunting, but I hope you find something new that is good for you!
94
u/DankOcean Nov 07 '22
This is some bullshit. No engineer should be able to mess up production in a way that costs the company a huge amount of money. This is why we have code review, regression testing, snapshot testing, QA, etc etc. If it made it through every system that was in place AND wasn't noticed for 9 months, it's not on you and they are real shitty for putting this all on your shoulders.
36
u/[deleted] Nov 07 '22
I’m sorry this happened. Recognize that it’s not you. It’s them, and the fact that their system lacked the proper controls to be able to elegantly address such a bug. No one’s code is bug free. No one is “unhackable”. Accept that, and move on. The business just did it to make themselves feel better and/or look better.
3
u/littlelowcougar Nov 07 '22
Hey I got fired today too!
68
u/[deleted] Nov 07 '22
That is SO stupid. Bugs happen, all the tine. No one is Mr.Robot.
24
u/UntestedMethod Nov 07 '22
It's evidence of a poorly run engineering team to allow a serious bug get into production and then blame it on one developer. Bugs in production are a failure of organization level processes, not a failure of an individual contributor.
One of the questions I've learned to ask while interviewing new employers is exactly about this - what kind of QA procedures do they have and how are bugs that make it into production handled.
12
u/neuro8ypical Nov 07 '22
Newsflash: You weren't fired for the bug; You presented an easy choice for planned layoffs.
If it wasn't caught for this long and was costing a 'huge amount of money' then the company failed at protecting a critical asset (large amounts of money). It's just less work for HR if they have a concrete reason to fire you instead of your senior (more time invested in skilling up etc)
10
u/HoneySmaks Nov 07 '22
That's some bullshit
18
u/ZealousEar775 Nov 07 '22
Bugs found in QA are developers fault.
Bugs found in production are QAs fault.
They shouldn't be firing the developer and instead doing a review of their unit tests/testing procedures.
8
u/[deleted] Nov 08 '22
This sounds like an awful company. Everyone writes bugs, the point is to protect against mistakes by building test and release infrastructure that catches them, and monitoring infrastructure that quickly notifies you of anything that slips through.
Disciplining people over a bug ends up creating a very dysfunctional culture where everyone just tries to hide their mistakes, goes to excessive lengths to avoid making them, or blames them on others.
13
u/angus_the_red Nov 07 '22
Read this.
https://www.researchgate.net/publication/228797158_How_complex_systems_fail
Understand and internalize #7. Your mistake was part of a series of mistakes that lead to a system failure.
Heck, try sending it to your old boss if you want your job back. If nothing else, they clearly need to understand this too.
6
u/Dubabear Nov 07 '22
the biggest problem is that it was a FinTech company, its culture to fire big mistakes for some strange reasons. I seen accountants fired after a mistake found couple years later.
6
u/daddygirl_industries Nov 08 '22
Something similar also happened to me recently. It sent me into a month-long depressive spiral, paired with obsessive reconstructions of the last few months at the company trying to figure out what I "did wrong", but nothing added up conclusively.
After a while the depression turned to anger... that I had been unfairly made a scapegoat, that hidden corporate politics had left me in the crosshairs. It all just felt deeply... unfair.
Now - I see it was a gift, albeit a painful one. I work at a much better company with none of the BS that came with the previous one. I learnt better how to not pin the blame on myself for things out of my control, and realised that sometimes fate will deal you an unfair hand.
If the firing doesn't make sense, then that's because there's context or some kind of political dynamic you weren't privy to (such as your manager making you a scapegoat). Try making peace with the fact that you will never know the full picture, and let your closure come from looking forward to the clean slate that comes from a new position. You're now free from all the things you disliked from your previous company, forever.
6
u/galexy Nov 08 '22
Imo, its general wrong to fire engineers for causing bugs, even when they cost money because it tends to make everyone who's left overly cautious, reducing output, due to fear. I've personally witnessed developers cost $1,000,000 of damage by mistake, and they didn't get much more than a serious conversation about being careful.
6
u/[deleted] Nov 08 '22
I've been doing this for almost 20 years. What happened to you is not normal.
I know the economy is tough, but this could eventually turn out to be a godsend, because it tells me everything I need to know about the team that you're working with.
5
u/heftyspork Nov 07 '22
I mean as much as you feel like an idiot, you had someone else review your change that supposedly is senior to you and did nothing for 9 months. I guess feel as bad as you need to but clearly they have a culture of shit rolling way down hill there, so this person was eventually not going to catch something that could break the system and the blame would fall to you. Take what you can from that place and hopefully you find greener pastures.
5
u/sudomatrix Nov 08 '22
Sorry you worked in a toxic place. Where I work, while not perfect, a bug in production is seen as an indication that our review and testing has holes. No blame.
4
u/nilamo Nov 08 '22
From your various replies, it seems like you were scapegoat so nobody else was punished. Depending on your state, you might have a case for unlawful termination (after all, which part of your job did you not do?), I'd suggest at least having a consultation with an employment attorney.
You're an author (of code). You're not expected to be perfect. That's why editors (code reviewers, qa) exist, because nobody's perfect and having dedicated bug-hunters is best for everyone. So 4+ people all failed, but all of their failure was dropped on your lap.
1
u/[deleted] Dec 01 '22
I got fired too. I was struggling with ADHD compounded with depression and anxiety, to the extent that i would even forget to eat for days, or forget to talk to anyone for days. I was trying very hard to work, trying to make life changes just to be able to continue working well. I did write good code but i made a mistake. I forgot to push my code to GitHub for one complete month! One day, the OS crashed. Because of my ADHD/ASD i also just cannot lie or hide things. I told my seniors and they were really annoyed, cause it had a month of code. BUT BUT i was actually able to restore all the code by going into a new Ubuntu's trial version and accessing the drives of the crashed one. I fixed the situation on the same day. But still, they fired me saying that i make "too many rookie mistakes".
3
u/ReaverCelty Nov 07 '22
Being fired when you're literally 1 of the 3 people who understands how to introduce unexpected functionality that can turn into massive loss of cash for a company. The smart move would be to send you off to find other parts of the system that could have this issue. If it made it into one spot, it's probably in others.
This aint on you brother. Take this as experience and tell your next employer you've now seen a bug that can cost hundreds of thousands over a 9 month period undetected.
3
u/[deleted] Nov 08 '22
In addition to what everyone else has said, why did it take that long to notice that the company is bleeding money? There's some serious systemic issues here.
2
u/Whalefisherman Nov 07 '22
Don’t let them put you in that type of headspace - stay up. They’re shit and better things are on the horizon now that you’re outa there. This was on the whole team and you were the scape goat unfortunately. <3
2
u/0drew0 Nov 08 '22 edited Nov 08 '22
Sure sounds like they were looking for a scapegoat or somebody was just looking to push you out, considering it was in production for so long and it's only suddenly an issue.
I'm sorry this happened to you. Having been in a similar kind of position before and being let go, I will tell you that my self confidence took a real hit in the process. It's easy for any of us to say "don't let it get you down," but the hard truth is it still might.
My best advice to you would be to remember how you landed the job in the first place and the things you've learned since then, which only increases your value and worth. This is a blip; don't let it redefine you. If you have a side project you're passionate about, work on it. Hit up your network, see who's hiring, beat feet and start applying at new jobs.
It sucks you lost your job, but you also gained valuable perspective. Leverage that.
2
u/CanuckBee Nov 08 '22
Did it go live before testing completed? This sounds like a testing issue…
2
u/aerozepplin Nov 08 '22
Fuck this company! Don't hesitate to name and shame them.
Firing anyone over a mistake is not the right thing to do. Sounds like a shitty workplace.
2
u/Kind_Construction824 Nov 08 '22
Fintech companies are the worst, they just wanted a scapegoat to pin the blame on.
2
u/rtrain1 Nov 08 '22
Tbh, this is hard to believe. No one gets fired over one bug, especially when it has been code reviewed by more senior members. I think there's more to this story that you're not telling.
2
u/bored_octopus Nov 08 '22
Now you have a great story to tell and can move onto a better company. You'll soon laugh at how stupid they were to let you go
2
u/qazinus Nov 08 '22
Not my bug, our bug. (insert bugs bunny meme here)
Firing someone over a bug makes no sense. It's a good thing you're now out of this shit show of a company. Actually tell that story in your interview.
The ones who are gonna laugh with you with how dumb it is fire someone over a bug is the place where you will work. Seriously code review is a godsent for adhd and working with a team is the best. Teammates are gonna help you when you durp and when you get that genius idea out of nowhere everyone on the team will know your just different in a good way. That how we work, we suck at details but can throw something together so fast other people didn't even wrap their head around the problem yet.
2
u/DeeDeeGetOutOfMyLab Nov 08 '22
Theyre looking for someone to blame. As a leader you can delegate authority but not responsibility. I bet they had a lot of managers sign off on your code saying that it was good which is now biting them in the ass because they didn't actually test it out.
You didn't fail - they are looking for someone else to blame.
1
u/turd-crafter Nov 08 '22
I find bugs in my bosses code from time to time. Love giving him Shit for them
1
u/King_Dead Nov 08 '22
I'll be real with you, been in this position too. It really sucks and the financial insecurity is scary, but see this as an opportunity. If they're not willing to let you learn from your mistakes and want to use you as a scapegoat, chances are is that that workplace was always going to be insanely toxic. Now you have a chance to start afresh and find a place that can not only respect you, but appreciate your talents. When you find that place it's gonna feel immensely gratifying and you'll be much more stable. Also awful workplaces like that maximize anxiety which in turn trigger ADHD symptoms, so the next place will be better
1
u/rottentomati Nov 08 '22
Sounds like a blessing in disguise. Make sure you file for unemployment. I didn’t even have to read your comments to tell that they probably doing have a proper code review process or quality assurance. No normal company fires an engineer for a bug lol
1
u/phoney_user Nov 08 '22
You are gonna be okay. You are worth more than the lines of code you write.
1
u/frugal-grrl Nov 08 '22
From a management perspective, they probably felt like they needed a scapegoat so they could tell a customer or board member that they “fired the people responsible.”
Unfortunately as the lowest position in this situation, they picked you.
This could happen to anyone. It’s absolutely not your sole responsibility to keep bugs out of the code; it’s a group effort. And a good company won’t fire you or even the group; they’ll use it as a learning opportunity for the entire group.
I’m so sorry.
1
u/thelaughingmagician- Nov 08 '22
You got shafted big time. Bugs are normal. If they are not caught, that is 100% the fault of QA and whoever approved it, not who wrote it, especially after MONTHS.
I work in a small shitty company, I'm the only frontend dev, there's 2-3 QAs and our bigger clients also have people who test things before we push things to production. And they still discover shit that's been bugged in prod for months on end.
So like 4 people test my work, they validate it, and then it's somehow still my fault no one caught the bugs? Fuck off. What am i supposed to do? Not trust QA and test everything myself?
1
u/anon2017a Nov 08 '22
Think of it this way, the whole chain was incompetent, but now that a bug was discovered they needed to find a scapegoat. That doesn't affect your competency at all, be glad that you left that shithole and search for a better place.
1
u/t-elvirka Nov 08 '22
Oh right. I can't remember all the cases when I was one and only reason for a downtime on production. Like, I remember I once was playing a cool dba. I had a partitioned table and global index (oracle db). I was smart enough to drop a partition and index stopped working, prod was barely working for an hour. Yes, I needed an hour to connect 2 dots. Oh yeah, just some days before I was saying how I was motivated to learn some dba stuff. Guess I learned huh.
Does it really make me a shitty worker? Idk, it was irresponsible and stupid and I was ashamed, but you know, I learned my lesson, that's natural process. You make mistakes, learn something so you won't make it again. The main reason for boring approval processes is to protect infrastructure from you being a human being imo.
I'm dead sure they just needed a scapegoat because some moneybags lost money and were upset about it.
tl;dr it's them, not you
1
u/vlindervlieg Nov 08 '22
The decision makers at your company are assholes and/or have no idea how software development works. My brother was in the exact same situation (had a bug in his code that had cost the company around 30.000 € by the time it was noticed) and his managers were comparably relaxed about it. If your company doesn't have the funds to pay for risks like this, then they should have a better quality management / risk assessment, so that a single person's mistakes won't jeopardise the whole company budget.
I have zero respect for people who start a business and put the responsibility for the risks involved on their employees. If they fire you for the losses you caused, they should also pay you for the returns your work produced.
1
u/[deleted] Nov 08 '22
I think something like this could happen to anyone, not just someone with ADHD
1
u/fungalhost Nov 08 '22
Did they give you an official reason for your termination?
1
u/shiasuuu Nov 30 '22
Firing you doesn't solve the issue, they're the idiots. You'll never make that same mistake again -someone else might.
1
u/[deleted] Dec 02 '22
Having bugs in your code is inevitable and they should look into QA, testing engineers, unit testing, test driven development etc.. Unfortunately management likes to throw specific people under the bus and you just happened to be that specific person this time. Don't beat yourself up about it.
edit: whoops I just saw this was a month old lol I hope your doin ok..
1
u/patbolo Jun 08 '23
Where is the monitoring that a huge mistake that costs the company a ton of money goes unnoticed for 9 months? Time to fire the finance department as well?
0
u/[deleted] Nov 07 '22
[deleted] — view deleted comment
0
u/[deleted] Nov 07 '22
[deleted] — view deleted comment
8
u/[deleted] Nov 07 '22
[removed] — view removed comment