What is Refactoring?
Posted: Thu Mar 30, 2017 8:57 am
Got following question:
Could you please explain “Refactoring” again?
Re: What is Refactoring?
Posted: Wed Apr 05, 2017 10:54 am
The word "refactoring" means to one particular behavior and preserving transformation - The goal of refactoring is not to change the behavior of the system, it includes improve the internal structure.
During the development, the code must go through different levels of review including peer and the expert review - Sometimes as part of Definition of Done.
During this process, code undergoes a good amount of refactoring based on review comments.
The code is improved to eliminate duplicate code, improper object identifier names, and absence of code comments. It makes code simple. It also supports in the emergence of reusable design elements - (such as design patterns) and code modules.
If there is a need for a major refactoring, it’s a good idea to create a new refactoring story and add it to the product backlog rather than addressing it right away.
Refactoring gives no direct business value flows to the customer, it enable agility at code level as simple code is easy for scalability.