Refactoring
Restructuring existing code
without adding new functionality
Why and when does this make sense?
- While developing new or refining existing software a certain degree of "disorderly growth" is sometimes hard to avoid.
- Meaningful partitioning, moduls and (helper) classes get only recognized with time.
- New requirements are frequently easier and faster to implement if the software is restructured first.
- Similarily, if parts of the code has to be reused in a different context.