login

Refactoring: Improving the Design of Existing Code

Lecture notes in computer sciencePublished 1 January 2002
Martin Fowler
Citations5,614
SJR quartileQ2
SJR score0.35
SNIP0.55

Abstract

Almost every expert in Object-Oriented Development stresses the importance of iterative development. As you proceed with the iterative development, you need to add function to the existing code base. If you are really lucky that code base is structured just right to support the new function while still preserving its design integrity. Of course most of the time we are not lucky, the code does not quite fit what we want to do. You could just add the function on top of the code base. But soon this leads to applying patch upon patch making your system more complex than it needs to be. This complexity leads to bugs, and cripples your productivity.

Keywords

Computer Science