Lurker News
I’ve come to realize that I often take constructive criticisms personally. Everything from an unintentionally snarky comment in a PR I’ve made to someone highlight a mistake I’ve made that I probably couldn’t have known about.

I see this as one of my major flaws and try hard to mask how I feel. But I just hope to learn to stop feeling bad for honest mistakes.

Comments (629) 356 threads

Earlier comments
yieldcrv#
Think more about the consequences. Many times they don't matter.

But think about why this is common amongst engineers, the consequences seem to matter. Software engineers initially get clout from being right, that devolves into criticizing other engineer's code while the usefulness of being right tapers off very quickly. Many of engineers got into the trade after being told they were so smart and intellectual, and this incentivizes being correct and making correctness your whole identity (to the annoyance of others and all your interpersonal relationships). But this is not productive, there is a limit to the utility of this. When you get criticized by another engineer it might seem like there is a consequence, but often there isn't.
One way to combat this is to ask yourself what game you're in:
Are you in the money game? then perfection doesn't matter, you can make the most barely functioning antiquated software that powers the government and fortune 500 companies, and be protected by the state for your own fuckups.
Just remember that.

Taywee#
I used to be the same way, but I've intentionally changed myself to fix it.

First, I don't treat my code as an extension of myself. My code is not me, and criticism of my code is not criticism of me.
I love a good solution, and I write good solutions, but all things created by humans are flawed, and therefore everything I make will be flawed. If somebody sees something I didn't, it's not because they're necessarily better than me (though they may be), but they have a different perspective. Often, it's something I would have seen if I was in their position and not so close to the code myself.
And because of this love for a good solution, I've trained myself to have a love for good criticism. Every piece of criticism is an opportunity. You are not perfect. You have room to grow and always will. Criticism is potentially a door to this room for growth.
Just internalize the mantra of self improvement. "I was wrong" is a wonderful thing. It means the same thing as "next time, I will be right".

coolgoose#
If it's a snarky comment in a review, they're the problem, not you. If it's an honest review, then that's life, it's about the code, not about yourself.

Can you look 2-3 years back at your original code and not find any problems? Then that's a problem :P We all learn, evolve, and improve, so at the end of the day, any feedback is better than no feedback.

jgerrish#
This is related to your question, but not directly answering it.

I have been privileged to exist in area where a lot of feedback to my projects comes from informal means. Friends taking a look at projects or just giving me time to think about issues. This has led to improvement that may not be as efficient, but was more meaningful.
Importantly, a lot of the feedback was positive. Perhaps overly so. It almost always remained positive, even if my code was shit. This doesn't mean I don't recognize when there are bad smells or practices. It didn't spoil me into thinking all my code was great.
I've made careful and deliberate choices to follow that practice of feedback with others and in other spaces.
So that's cool I guess. Others may have other criteria that are important. Sorry it doesn't explicitly answer the question, I just wanted to offer that.

Load more comments