Hate-driven development

A play on test-driven development for use when a piece of code is not necessarily broken but you hate the way it is written so much that you feel compelled to rewrite it.

Free Online Dictionary of Computing