Refactoring : a change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior.
The rhythm of refactoring: test, small change, test,small change, test, small change ...
Why you need to refactor :
The rhythm of refactoring: test, small change, test,small change, test, small change ...
Why you need to refactor :
- Improves the Design of Software :Any software decays over a period of time as requirements changes ,Refactoring helps in preventing the software decay
- Makes Software Easier to Understand:
- Helps You Find Bugs
- Helps You Program Faster
When you need to Refactor?:
- Before adding new function/capability/feature
- Before fixing a bug
- While reviewing code
- To understand legacy application
When you need not refactor ?:
- The application is not working
- The application is full of bugs
- The code base is not stabilized
No comments:
Post a Comment