peer code reviews. I don't they are done often enough. But, as a developer, if I'm sitting writing a line of code, and I know my peers are soon going to review it, I'd be less likely to cut corners and make myself look unprofessional.
I used to take style comments from reviewers seriously, until I saw the code they had submitted that got them promoted.