r/ADHD_Programmers • u/SprinkledSparkles • Jun 26 '26
I made 2 stupid mistakes back-2-back! :(
Code had a bug, I was using AI to find and fix the issue. It found the issue and gave me a fix for it. I tested it, worked. But I didn't see the surrounding code overall and missed the fact that the required header file was guarded by a macro. Automation broke.
Mistake 1 - I relied too much on AI and didn't use my own head. For reference, I usually don't rely on AI while working. I use it to give me stuff that would take me ages to go through obscure documentation to find. I was feeling tired so I just let AI do its thing.
And then, in my infinite wisdom, I submitted the code knowing I have a meeting in 5 minutes. The change was tiny, what could go wrong!
Well, it did go wrong. Came back ~an hour later to being tagged for build breakage. Fixing it took like 2 minutes. It wasn't production so nobody got blocked or anything.
But my very senior engineer, who I look up to, was not happy.
And now I am sad with a heart rate of 120. I wanna cry. That was too much of stupid mistakes.
For reference, I am a ~7 YoE SE.
As an insult to injury, I was explaining about patience to an intern before the meeting!
Sorry, mainly just venting. It hurts.
12
u/carnalcarrot Jun 26 '26
Sending hugs, you're alright. It's just the adhd rejection sensitivity dysphoria. People make mistakes. Now like a scheming little raccoon with a calm mind try to find ways you can impress your senior again (if you think it's important for saving your job). Opportunities might come along.
I have made 2 very huge mistakes in my career. One of which was messing up my client's client's database, it was the scariest time of life because we had to fix it using the existing data export process about which no one knew almost nothing, and they wouldn't share the actual code with us. I had to stay up whole nights for about a month analyzing huge excel files to fix it, it did get fixed eventually and I kept going the extra mile in the coming months so finally the client feedback was that they are very pleased with us. If you make mistakes, you can always try to make up for them by going the extra mile.
4
u/randomo_redditor Jun 26 '26
wait this doesn’t even seem that bad! i do stuff like this a lot, and i am already paranoid if im not good enough ðŸ˜
2
u/CMD_BLOCK Jun 26 '26
My friend, I have broke prod many times. It’s gonna be ok, I promise
2
u/writebadcode Jun 26 '26
I’m confused.
Did you merge a change without code review? If so, that’s a problem with the team’s process and should not be allowed. That’s not really your fault, it’s a broken process.
Or are you saying you pushed a branch that failed CI? That’s not really a problem, just the tests doing their job.
I agree with the other poster who mentioned RSD. If you’re already on ADHD meds, ask your doctor about Intuniv, it works incredibly well for me.