If I'm not proud of the code I write, I don't check it in to the central repository. It's as easy as that.