Refactoring code -- changing its structure without changing its behavior -- is, perhaps, the most powerful tool for improving code.

Catalogs of Refactorings