Ask HN: How do you not take criticism of your work personally?
667 pointsI’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 comments2. Try self-derision. "Oh man, I must have had too much to drink that night!!!!" or "yeah I got pretty lazy there...". Always very appreciated. Especially if the comment from the co-worker is intentionally snarky.
3. Try and be pre-emptive about it. If someone says: "hey wtf is going on in prod?", you should answer: "shit, it's probably me, I'm looking into it", or if you think it's not you, you can do something like: "I fiddled with this code yesterday, but I am fairly confident that it's unrelated, let me know if I screwed up".
4. Own up your colleagues' mistakes too: "Sorry guys we screwed up on that one". Clients love people who tell them they're sorry rather than people who come up with shitty excuses.
5. If it's far in the past, insult your past self at will. "Well when I wrote this, I was pretty lame I didn't know better".
6. Always remember that what's in the past can't be changed. Only the present and the future matter.
7. Be kind to other co-workers who own up their mistakes.
8. Thank people who fix your bugs.
There are a lot of hidden benefits hidden in distanciating yourself emotionally from the code you wrote:
- You won't want to continue working on "your baby" when your boss offers you a promotion
- It makes the team work a lot more human. We aren't geniuses, and even geniuses screw up. It's all fine.
- If you own up your small mistakes, no one is going to throw you under the bus if you make a much bigger mistake.
Good luck.
Reminds me of my favorite code comment that I came across once…
“I burned one right before I wrote the block below. Now that I am no longer high I have no idea how it works or why, but it works.”
I.e. if I want clarity around a code choice it's clear to the developer that I need more context, or if I have a nitpick to point out it's clear that that's why I am pointing it out. I think everyone should comment in this style as it helps to shed light on what you're trying to express, even if the comment is short or unintentionally snarky.
https://conventionalcomments.org/
Of course this doesn't address all the forms of text communication but PRs are generally a pain point when it comes to interpreting meaning.
Sometimes you won't have a choice and you just have to put up with it. But my advice, in so far as possible, is to surround yourself with people who understand this nuance and for whom it is a goal to be compassionate (while still being honest and truthful about problems that exist).
I just wanted to mention it because some of the advice in this thread doesn't seem to make this explicit. Improving yourself is great, but life is too short to put up with jerks.
Remember the only way from amateur to professional is by constant improvement, which requires constant critique of your performance.
As you improve the criticism becomes less, you also have to rise above the amateurs who don't know how to adequately structure criticism, so that it written in a less personal way. Early on in your career this may seem deliberate and you will make a lot of mistakes, but it does fade.
You should also have 2 tenets:
- It doesn't matter what happens, you are paid for the code regardless, so don't hold so much pride.
- Make sure your reviews of others hold them to the same standard and language so they feel what feedback like that does and helps them adapt (it's also revenge served cold if that's your thing).
All comments shown.
Couldn't load more comments. Check your connection and try again.