What is Refactoring?
Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure. And it makes software easier to understand.
I think refactoring goes further because it provides a technique for cleaning up code in a more efficient and controlled manner.
- Refactoring does “not” mean:
- rewriting code
- fixing bugs
- Changing functionality
- improve observable aspects of software such as its interface