People respect people who make other people’s lives easier. Thus if your goal is to gain respect, move up the ranks, and improve, aim to code for the team and not yourself.
“Don’t ever let someone tell you that you can’t do something. You got a dream, you gotta protect it. People can’t do something themselves, they wanna tell you that you can’t do it. You want something, go get it. Period.” — The Pursuit of Happyness
To accept our mistakes, we should not base our success on a lack of mistakes but in growth, courage, intelligence and creativity.