I'll add one point. You are not your job. Don't take things personally at work. And never be afraid to leave if you're not fitting in with your company .
I've left jobs over a few reasons, primarily bad managers, increased compensation, and bad code .
If people are writing bad code at your company, to the point where you know it's going to come back to haunt you later, it's okay to just walk away .
Don't embarrass anybody, don't escalate to a manager and explain how horrible the code is. I was in a situation where someone our team was effectively writing code that pretended to do things it really didn't. I got into a really nasty argument with half my team about this. I ended up putting in my two weeks, and then my manager was like oh you were right the entire time .
Life is too short to deal with incompetent people.
I've left jobs over a few reasons, primarily bad managers, increased compensation, and bad code .
If people are writing bad code at your company, to the point where you know it's going to come back to haunt you later, it's okay to just walk away .
Don't embarrass anybody, don't escalate to a manager and explain how horrible the code is. I was in a situation where someone our team was effectively writing code that pretended to do things it really didn't. I got into a really nasty argument with half my team about this. I ended up putting in my two weeks, and then my manager was like oh you were right the entire time .
Life is too short to deal with incompetent people.