+ 2

What is code refactoring in any language

10th Nov 2017, 5:04 AM
Muhammad Asim
2 odpowiedzi
+ 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.
10th Nov 2017, 5:15 AM
Harsh
Harsh - avatar
+ 2
refactoring is a controllable process of improving code without creating new functionality
10th Nov 2017, 11:33 AM
Muhammad Asim