Refactoring

Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior.

Why is it is important ?

Its heart is a series of small behavior-preserving transformations.

The goal of refactoring is clear code that isn't copied, doesn't contain duplication, consists of only that code that's needed (less code), passes all test and it's easy to maintain.

  • Increase the quality and stability of your product — LONG TERM.

  • Add new features and improvements with less effort.

Every 200 hours coding requires 20 hours of refactoring. Product features and deadlines should be planed accordingly.

Last updated