Want to be a better programmer? Robert Stackhouse suggests fighting your natural instincts:
I was watching a video of the Google I/O conference. In it, one of the speakers said that, "It's our natural instinct to try to be a genius, but we need to try to fight that." [...] In this video, they touched on a whole host of natural tendencies: getting defensive, hiding your code away from the world, trying to exert ownership, and trying to do it all ourselves. All of these actions have very real very negative consequences for the team.
Opening yourself and your code up to review by your peers can sometimes be a scary thing but, in the long run, transparency is necessary for good team-based development. He also recommends bringing up issues to other developers in a more one-on-one setting rather than a group.