"Or it just erodes your self confidence until you're committing fixes that miss obvious details which then goes to production and breaks things"
I read your statement earlier and I wanted to get to a keyboard before I responded to it. Dude, whenever a bug makes it into production, it's not just a mistake on your part. It's a mistake on everyone's part. You've been in this company, from what I've gathered, for 6 months. That's not a long time at all. You're still wet behind the ears there; but there's something you need to know about bugs making it to production.
They're not exclusively your failing. Yeah, you wrote the code, and so I get how you feel responsible, but let's just think of all the steps that it had to go through, all the eyes that saw it that didn't see your mistake, remembering that you've only been there 6 months.
1) your code reviewer didn't catch it
2) the QA person didn't catch it when it was tested
If there wasn't a code reviewer, that was a weakness in the process that permitted the mistake to make it there. If there wasn't QA, then that's all the more reason for people to have a close eye on details.
But those people didn't see it either, because the bug made it to production. And if they saw it and didn't say anything, then it's their failing for not letting you know about a potential weakness.
You're going to make mistakes, that's why code reviews happen. That's why people test code. We make mistakes, even really dumb ones. They happen all the time.
Don't beat yourself up, man. Just live and learn. You'll still make mistakes, but as you get experience screwing up, you'll make fewer of that particular kind of mistake.
Keep at the craft. We all screw up pretty hard from time to time, that's why we need each other and help each other :)
I read your statement earlier and I wanted to get to a keyboard before I responded to it. Dude, whenever a bug makes it into production, it's not just a mistake on your part. It's a mistake on everyone's part. You've been in this company, from what I've gathered, for 6 months. That's not a long time at all. You're still wet behind the ears there; but there's something you need to know about bugs making it to production.
They're not exclusively your failing. Yeah, you wrote the code, and so I get how you feel responsible, but let's just think of all the steps that it had to go through, all the eyes that saw it that didn't see your mistake, remembering that you've only been there 6 months.
If there wasn't a code reviewer, that was a weakness in the process that permitted the mistake to make it there. If there wasn't QA, then that's all the more reason for people to have a close eye on details.But those people didn't see it either, because the bug made it to production. And if they saw it and didn't say anything, then it's their failing for not letting you know about a potential weakness.
You're going to make mistakes, that's why code reviews happen. That's why people test code. We make mistakes, even really dumb ones. They happen all the time.
Don't beat yourself up, man. Just live and learn. You'll still make mistakes, but as you get experience screwing up, you'll make fewer of that particular kind of mistake.
Keep at the craft. We all screw up pretty hard from time to time, that's why we need each other and help each other :)