| Exploring Solution Spaces © Copyright 2003-2006, by C. Keith Ray | ||||||||||||||||||||||||
|
Archives
Subscribe |
2007.Apr.09 Mon
Refactoring is like Steering a Car
Won't continual merciless refactoring slow the team down? This question is like asking, "Isn't all that messing with steering wheel going to slow your car down? Why don't you just pick a direction for your car, lock your steering wheel in place, and stick to it?" Refactoring takes care of unplanned as well planned design changes. Unplanned changes may include noticing duplicated code or other code smells. Planned changes include those changes necessary to implement a new story or feature. Similarly, in driving, we have unplanned course changes, such as avoiding accidents, slow drivers, potholes, and pedestrians, and planned course changes. Like all analogies, there's a nugget of truth here, but don't take the analogy too far. |
|||||||||||||||||||||||