Lurker News
Back to discussion

Comment by _popcornLurker

Earlier replies
_popcornLurker21 replies#
Uhm...I have to chime in here.

"Anti-fragile attitude" when it comes to criticism is not built by tolerance. Quite the opposite actually. It is a common misconception. While making yourself numb against criticism IS a solution but not by far the best one.
A high criticism tolerance is learned by understanding that ones self worth is not attached to output or delivery. (This is hard in our industry) It comes from self-acceptance and compassion. And these values are learned early on. You'll find that the people that break down at the slightest criticism the most are those that were criticised the most as children as well. Those that had no room for being anything other than perfect. Where value was obtained from performance.
To take it even further...why see it as criticism at all? You are not your lines of code.

kazinator#
Make your code (or other engineering deliverables) beyond criticism. This state is achieved when every decision in the code is either due to a hard external requirement that we all agreed on (it has to be done that way) or else is made according to externally documented and referenced best practices.

If someone disagrees with anything in the code, you can point them either to a requirement that would have to change if it were done differently, or else some documented best practice (whether in-house or some famous external one) would be violated.
Have a reason for everything. Why is there a linear search in that function? Because the number of items is at most ten, and not expected to ever exceed around fifteen; moreover, the function is called only a dozen times, on first boot after a firmware upgrade.
Also, be the most stern critic you can be, of your own code, criticize it yourself and fix everything, so you don't leave much for anyone else.