| > You are not your lines of code. I think you actually are, in a very real sense. Someone else would have written different lines of codes. The lines of code are a function of yourself, an inherent part of you. Criticizing the lines of code criticizes that part of you. You can’t criticize a novel without implicitly criticizing its author. When we criticize an LLM’s output, we are typically criticizing the LLM. Perceiving criticism of one’s own work as something personal is only natural, and logical. Now, if the criticism is of a honest mistake, you can learn from that, and own the mistake – show responsibility for it by acknowledging it and correcting it. Of course, that presupposes that you agree that it was a mistake. Often things aren’t that clear-cut. There can be genuine differences of opinion and of judgement. Of course, one is biased towards one’s own work. It helps to be aware of that bias. It also helps to think in terms of picking your battles. If you don’t quite agree with a criticism, it can also help to give yourself a chance to change your mind a bit. Maybe later you’ll actually mostly agree with it. And that later changed you isn’t the former you that was criticized. Win-win! |
I disagree on the strongest terms. You need to work with a mindset to your own growth an evolution. It was me who wrote these lines of code an hour ago, but I would not have known to write them a year ago and I will know better than to write them like this in another year's time. Possibly I wouldn't even write them like that now, having thought about them for an hour.
I am not a perfect coder, some Omnipotent god. Everything I write is a tradeoff of my current set of knowledge and the pressures I'm under and is therefore inherently flawed.
If someone criticise my code it's because they either know more than me, in which case I have learned why I shouldn't have done that and will adapt for the future, or it's because they know less than me and I haven't clearly explained the tradeoffs in which case I have learned that I need to express myself more clearly and will adapt that for the future.
(Of course it might just be because they didn't bother to read my commit message but that's a different problem)