- If you have a large enough project, iteration times tend to be long
- Compilation times are long
- Startup / loading times are long
- Running tests takes a long time
- Refactoring in small steps is difficult, since you either
- End up spending a long time retesting each iteration, or
- Try to squeeze in several rounds of refactoring in one sweep, which decreases turnaround time, but increases risk and testing time.
- The number of test cases is too large and not all tests are (even in principle) automatable.
- Corner cases are not always obvious and the effect your refactoring will have is not always clear
Sunday, October 24, 2010
Refactoring pitfalls
Here are some things I found that go wrong during refactoring, or reasons why refactoring is not as easy as it could be:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment