Ok, parent comment was quite certainly intended as second degree, possibly bait even. Still, it raises a point.
From anyone else's viewpoint, you are [perceived as] all that you do. People perceive you through your code... and through your attitude about your code... and through your attitude about your attitude... and so on.
But that's how they perceive you, not necessarily how they evaluate you.
Now, it is quite understandable to be affected by others' opinion of your code, there's no question about this: that's your work, and people usually do something with the intent that it be well done, so criticism can of course be resented as it points at a failure, and we are taught that failure is bad (which is a mistaken approach IMO, and possibly the reason why many people mistake their own worth with the immediate, first degree, worth of what they do).
You should make the difference between a criticism of the result of one of your actions and a criticism of your own person (or even a criticism of the way you do things). Heck, if there was no difference, no one on Earth would love, or even like, anyone else, since that would require loving, or at least liking, absolutely everything (s)he does [of course, I am assuming here that most people on Earth actually do like, or even love, someone else; that could be a misperception on my part].
The difference is that you cannot undo an action of yours, but you can change the way you do things, thus affecting your future actions, and even your future reaction to things, including, yes, criticisms. In coderspeak, this could be expressed as "agile development of your own self".
Long point short: you are not what you code, you are a coder. Keep this difference in mind.