Skip to main content

Refactoring - Improving the Design of Existing Code

ISBN:0201485672
Pages:464
Date:1999-06-28
Publisher:Addison-Wesley Professional
Rating:4.5

Read Refactoring - Improving the Design of Existing Code Online
1. Online Book Mirror [212.193.68.10][PDF]

    Amazon.com
Your class library works, but could it be better? Refactoring: Improving the Design of Existing Code shows how refactoring can make object-oriented code simpler and easier to maintain. Today refactoring requires considerable design know-how, but once tools become available, all programmers should be able to improve their code using refactoring techniques. Besides an introduction to refactoring, this handbook provides a catalog of dozens of tips for improving code. The best thing about Refactoring is its remarkably clear presentation, along with excellent nuts-and-bolts advice, from object expert Martin Fowler. The author is also an authority on software patterns and UML, and this experience helps make this a better book, one that should be immediately accessible to any intermediate or advanced object-oriented developer. (Just like patterns, each refactoring tip is presented with a simple name, a "motivation," and examples using Java and UML.) Early chapters stress the importance of testing in successful refactoring. (When you improve code, you have to test to verify that it still works.) After the discussion on how to detect the "smell" of bad code, readers get to the heart of the book, its catalog of over 70 "refactorings"--tips for better and simpler class design. Each tip is illustrated with "before" and "after" code, along with an explanation. Later chapters provide a quick look at refactoring research. Like software patterns, refactoring may be an idea whose time has come. This groundbreaking title will surely help bring refactoring to the programming mainstream. With its clear advice on a hot new topic, Refactoring is sure to be essential reading for anyone who writes or maintains object-oriented software. --Richard DraganTopics Covered: Refactoring, improving software code, redesign, design tips, patterns, unit testing, refactoring research, and tools./p>
Reviews From AMAZON.COM
An Excellent guide to refactoring
This book presented a very methodical approach to refactoring that I found very useful. In practice, it can be tricky to follow. The author's assertion that junit tests are necessary is at once truthful and a little impractical. Overall, the book is an easy read and a great beginning into cleaning up code.
Excellent Material for improving day-to-day coding
Refactoring is something that I was doing subconsiously everyday at my work as a coder. When I got the book I had an "aha!!!" feeling. Most of the stuff I was doing had labels and names :-)This helped me a lot, since it provided me with the language I needed in order to be able to convey to my colleages what I was doing or what I needed them to do.I think that refactoring as a concept is far more important than design patterns for your everyday work. So far I have only needed design patterns 2 or 3 times, while refactoring I do day in day out.