Right. Ideally, everyone is willing to take responsibility for the work they do and are proud of it even when it contains flaws.
If you can't handle having bugs in your code without getting all defensive, you probably shouldn't be coding. The only way to get better is to get feedback.