+ 2
What is code refactoring in any language
2 Answers
+ 7
Refactoring is a disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior.
Its heart is a series of small behavior preserving transformations. Each transformation (called a ârefactoringâ) does little, but a sequence of transformations can produce a significant restructuring. Since each refactoring is small, itâs less likely to go wrong. The system is kept fully working after each small refactoring, reducing the chances that a system can get seriously broken during the restructuring.
+ 2
refactoring is a controllable process of improving code without creating new functionality