Refactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series)

Refactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series)
by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts

Refactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series)
List Price: $59.99
Our Price: $39.99
You Save: $20.00 (33%)
Availability: Usually ships in 1-2 business days
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Don Roberts, John Brant, Kent Beck, Martin Fowler, William Opdyke
Edition: Hardcover
Audio: English (Original Language); English (Unknown); English (Published)
Published: 1999-07-08
ISBN: 0201485672
Number of pages: 464
Publisher: Addison-Wesley Professional
Accessories:

Book Reviews of Refactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series)

Book Review: Good resource for teaching
Summary: 4 Stars

What is better? Replacing delegations with inheritance or replacing inheritance with delegation?

The answer is the ultimate answer to most software engineering decisions: DEPENDS, there is always a trade-off that has to be analyzed according to the context! This book addresses those trade-offs very well.

Moreover, I like the examples in the book, good to use in class when teaching. They generate interesting discussions.

Summary of Refactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series)

As the application of object technology-particularly the Java programming language-has become commonplace, a new problem has emerged to confront the software development community. Significant numbers of poorly designed programs have been created by less-experienced developers, resulting in applications that are inefficient and hard to maintain and extend. Increasingly, software system professionals are discovering just how difficult it is to work with these inherited, "non-optimal" applications. For several years, expert-level object programmers have employed a growing collection of techniques to improve the structural integrity and performance of such existing software programs. Referred to as "refactoring," these practices have remained in the domain of experts because no attempt has been made to transcribe the lore into a form that all developers could use. . .until now. In Refactoring: Improving the Design of Existing Software, renowned object technology mentor Martin Fowler breaks new ground, demystifying these master practices and demonstrating how software practitioners can realize the significant benefits of this new process.

With proper training a skilled system designer can take a bad design and rework it into well-designed, robust code. In this book, Martin Fowler shows you where opportunities for refactoring typically can be found, and how to go about reworking a bad design into a good one. Each refactoring step is simple-seemingly too simple to be worth doing. Refactoring may involve moving a field from one class to another, or pulling some code out of a method to turn it into its own method, or even pushing some code up or down a hierarchy. While these individual steps may seem elementary, the cumulative effect of such small changes can radically improve the design. Refactoring is a proven way to prevent software decay.

In addition to discussing the various techniques of refactoring, the author provides a detailed catalog of more than seventy proven refactorings with helpful pointers that teach you when to apply them; step-by-step instructions for applying each refactoring; and an example illustrating how the refactoring works. The illustrative examples are written in Java, but the ideas are applicable to any object-oriented programming language.


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 Dragan

Topics Covered: Refactoring, improving software code, redesign, design tips, patterns, unit testing, refactoring research, and tools.

Object-Oriented Design Books

Book Subjects
Most talked about in Desired Reading
Team Foundation Server 2008 in Action ImageTeam Foundation Server 2008 in Action
by Jamil Azher
Manning Publications; Published: 2008-09-15; Paperback; Book
Best price: $31.49
Price in other shops: $49.99
Head First Design Patterns Poster (Head First) ImageHead First Design Patterns Poster (Head First)
by Eric Freeman, Elisabeth Freeman
O'Reilly Media, Inc.; Published: 2005-09-01; Poster; Book
Best price: $5.36
Price in other shops: $9.95
Head First Design Patterns (Head First) ImageHead First Design Patterns (Head First)
by Elisabeth Freeman, Eric Freeman, Bert Bates, Kathy Sierra
O'Reilly Media, Inc.; Published: 2004-10-25; Paperback; Book
Best price: $23.30
Price in other shops: $44.95
Smart and Gets Things Done: Joel Spolsky's Concise Guide to Finding the Best Technical Talent ImageSmart and Gets Things Done: Joel Spolsky's Concise Guide to Finding the Best Technical Talent
by Joel Spolsky
Apress; Published: 2007-05-31; Hardcover; Book
Best price: $6.06
Price in other shops: $16.99
More Joel on Software: Further Thoughts on  Diverse and Occasionally Related Matters That Will Prove of Interest to Software Developers, Designers, and ... Luck, Work with Them in Some Capacity (Pro) ImageMore Joel on Software: Further Thoughts on Diverse and Occasionally Related Matters That Will Prove of Interest to Software Developers, Designers, and ... Luck, Work with Them in Some Capacity (Pro)
by Joel Spolsky
Apress; Published: 2008-06-24; Paperback; Book
Best price: $15.43
Price in other shops: $24.99
The Best Software Writing I: Selected and Introduced by Joel Spolsky ImageThe Best Software Writing I: Selected and Introduced by Joel Spolsky
by Joel Spolsky
Apress; Published: 2005-06-20; Paperback; Book
Best price: $3.50
Price in other shops: $24.99
Refactoring: Improving the Design of Existing Code (The Addison-Wesley Object Technology Series) ImageRefactoring: Improving the Design of Existing Code (The Addison-Wesley Object Technology Series)
by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
Addison-Wesley Professional; Published: 1999-07-08; Hardcover; Book
Best price: $32.15
Price in other shops: $59.99
Test Driven Development: By Example (The Addison-Wesley Signature Series) ImageTest Driven Development: By Example (The Addison-Wesley Signature Series)
by Kent Beck
Addison-Wesley Professional; Published: 2002-11-18; Paperback; Book
Best price: $30.58
Price in other shops: $44.99
Rush Limbaugh Is a Big Fat Idiot ImageRush Limbaugh Is a Big Fat Idiot
by Al Franken
Dell; Published: 1999-01-12; Paperback; Book
Best price: $3.70
Price in other shops: $14.00
The Truth (with jokes) ImageThe Truth (with jokes)
by Al Franken
Dutton Adult; Published: 2005-10-25; Hardcover; Book
Best price: $2.85
Price in other shops: $25.95
Similar Books and other products
The Mythical Man-Month: Essays on Software Engineering, Anniversary Edition (2nd Edition) ImageThe Mythical Man-Month: Essays on Software Engineering, Anniversary Edition (2nd Edition)
by Frederick P. Brooks
Addison-Wesley Professional; Published: 1995-08-12; Paperback; Book
Best price: $24.44
Price in other shops: $39.99
UML Distilled: A Brief Guide to the Standard Object Modeling Language (3rd Edition) (Addison-Wesley Object Technology Series) ImageUML Distilled: A Brief Guide to the Standard Object Modeling Language (3rd Edition) (Addison-Wesley Object Technology Series)
by Martin Fowler
Addison-Wesley Professional; Published: 2003-09-25; Paperback; Book
Best price: $27.93
Price in other shops: $44.99
Working Effectively with Legacy Code (Robert C. Martin Series) ImageWorking Effectively with Legacy Code (Robert C. Martin Series)
by Michael Feathers
Prentice Hall PTR; Published: 2004-10-02; Paperback; Book
Best price: $41.26
Price in other shops: $56.99
Head First Design Patterns (Head First) ImageHead First Design Patterns (Head First)
by Elisabeth Freeman, Eric Freeman, Bert Bates, Kathy Sierra
O'Reilly Media, Inc.; Published: 2004-10-25; Paperback; Book
Best price: $24.65
Price in other shops: $44.95
Patterns of Enterprise Application Architecture (Addison-Wesley Signature Series) ImagePatterns of Enterprise Application Architecture (Addison-Wesley Signature Series)
by Martin Fowler
Addison-Wesley Professional; Published: 2002-11-15; Hardcover; Book
Best price: $39.43
Price in other shops: $64.99
Refactoring to Patterns (Addison-Wesley Signature Series) ImageRefactoring to Patterns (Addison-Wesley Signature Series)
by Joshua Kerievsky
Addison-Wesley Professional; Published: 2004-08-15; Hardcover; Book
Best price: $36.99
Price in other shops: $59.99
Test Driven Development: By Example (Addison-Wesley Signature Series) ImageTest Driven Development: By Example (Addison-Wesley Signature Series)
by Kent Beck
Addison-Wesley Professional; Published: 2002-11-18; Paperback; Book
Best price: $33.61
Price in other shops: $44.99
The Pragmatic Programmer: From Journeyman to Master ImageThe Pragmatic Programmer: From Journeyman to Master
by Andrew Hunt, David Thomas
Addison-Wesley Professional; Published: 1999-10-30; Paperback; Book
Best price: $27.00
Price in other shops: $45.99
Code Complete: A Practical Handbook of Software Construction ImageCode Complete: A Practical Handbook of Software Construction
by Steve McConnell
Microsoft Press; Published: 2004-07-07; Paperback; Book
Best price: $29.69
Price in other shops: $49.99
Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series) ImageDesign Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series)
by Erich Gamma, Richard Helm, Ralph Johnson, John M. Vlissides
Addison-Wesley Professional; Published: 1994-11-10; Hardcover; Book
Best price: $38.98
Price in other shops: $59.99
Book store. Illustrated catalog of books on different categories