|
Wednesday Afternoon
|
| 72 | Refactoring: Improving the Design of Existing Code Martin Fowler, Independent Consultant |
Colorado Convention Center - A106 |
|
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. Of course most of the time we are not lucky and often new function is just patched on top. Soon this patch upon patch approach causes the design to decay slowing down later progress and breeding bugs.
Refactoring is all about how you can avoid these problems by modifying your code in a controlled manner. Done well you can make far reaching changes to an existing system quickly, and without introducing new bugs. With refactoring as part of your development process you can keep your design clean, make it hard for bugs to breed and keeping your productivity high. The main aim of this tutorial is to understand the basic principles and rhythm of refactoring. We'll also cover a dozen or so important refactorings and the "code smells" that lead you to refactoring. Attendee Background: All the examples will use Java so you should have a working knowledge of Java. Martin Fowler has spent over a decade to applying object technology to business information systems. He is an independent consultant who trains and mentors his clients in OO analysis, design and programming, patterns, and refactoring. He is the author of "UML Distilled" and "Analysis Patterns". His latest book,"Refactoring", is due to appear in mid 1999. |
|
at a Glance |
|
of all Tutorials |
|