What is refactoring?

John Mitchell

Refactoring is a process articulated and popularized by Martin Fowler for the disciplined restructuring of code. The basic point is to restructure the code in relatively simple, straightforward steps such that the resulting code does precisely the same things but is "better" in various ways such as efficiency, simplicity, understandability, manageability, etc.