Refactoring is the Programming process of changing a software system in a way that does not alter the external behavior of the code yet improves its internal structure.

Refactoring is a disciplined way to clean up code that minimizes the chances of introducing bugs. In essence, when you refactor, you are improving the design of the code after it has been written.

More Information#

There might be more information for this subject on one of the following: