Start reading Refactoring: Improving the Design of Existing Code on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.
Not currently available
Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Refactoring: Improving the Design of Existing Code
 
 

Refactoring: Improving the Design of Existing Code [Kindle Edition]

Martin Fowler , Kent Beck , John Brant , William Opdyke , Don Roberts
4.5 out of 5 stars  See all reviews (24 customer reviews)

Pricing information not available.

Item Under Review

This title is currently unavailable because customers have told us that there may be something wrong with the description, the content, or the way that the content is displayed.

We're working with the publisher to fix the problem as quickly as possible. As always, we value customer feedback.

Formats

Amazon Price New from Used from
Hardcover £36.54  


Product Description

Amazon.co.uk Review

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 what refactoring is, this handbook provides a catalogue 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 "smells" of bad code, readers get to the heart of the book, its catalogue of more than 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.

Product Description

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, Refactoring: Improving the Design of Existing Software 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.


Product details

  • Format: Kindle Edition
  • File Size: 1474 KB
  • Print Length: 464 pages
  • Publisher: Addison-Wesley Professional; 1 edition (28 Jun 1999)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B000OZ0N4Y
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (24 customer reviews)
  • Amazon Bestsellers Rank: #125,691 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(1)

Your tags: Add your first tag
 

Customer Reviews

Most Helpful Customer Reviews
31 of 33 people found the following review helpful
Format:Hardcover|Amazon Verified Purchase
I'm probably not alone in finding that, upon opening up source code (even my own), I have an uncontrollable urge to remove duplication, simplify, reduce and generally "improve" things before I can start to see how changes can be made. Then I read this book and discovered that I was refactoring.
Even better, I started to understand that there were a set of well-designed methods to apply, some of which I'd informally discovered for myself (so I wasn't alone after all) and many more that I hadn't thought of. It doesn't hurt that the book is well, and often entertainingly written.
Although some of the content is explicitly targeted at code built in full-blown object-oriented languages (the language used throughout is Java), it doesn't prove to be a hindrance to VB programmers like myself.
This book may fall slightly behind "Code Complete" in my list. Which would only make it the second best development book I've ever read (but it's the first one I felt like posting a review on).
Comment | 
Was this review helpful to you?
6 of 6 people found the following review helpful
By A Customer
Format:Hardcover
Like the GoF book, this book makes new ground by describing each refactoring in baby-step format and *naming* each of the refactorings. It has also led to more refactoring tools (which I hope will become a mandatory IDE requirement). So, instead of having to refactor your code manually, you can simply goto the menu and select "Extract Method", "Replace Temp with Query" etc. I highly recommend people check out the new IntelliJ IDEA (called Pandora). As Kent Beck notes, a refactoring tool completely changes the way you think about coding.

10 thumbs up for this book and the effect it will have on the industry.

Steve

Comment | 
Was this review helpful to you?
19 of 21 people found the following review helpful
Format:Hardcover
This book is simply great !! It's definately the most useful book I've read since "Design Patterns".

It has an easily read and also sometimes quite amusing text, UML diagrams when necessary, and of course, VERY GOOD CONTENT !!! In short Refactoring is about turning badly designed and written code into well designed and written code, without breaking the program. If you liked read "Design Patterns" (Gamma et al.) you love this one as well. It's structured in much the same way.

The content covers

* WHY + WHEN to refactor
* HOW + WHAT to refactor
* A very good chapter on unit testing with JUnit (Open Source, by Eric Gamma (Design Patterns) and Kent Beck (Extreme Programming) )
* A thorough catalogue of different refactorings you can do to improve the design and readability of your code.
Was this review helpful to you?
Most Recent Customer Reviews
Extreme important book for every programmer!
This book should be on every programmer bookshell. In a nice way explains how to go on with refactoring and why is it so important.
Published 18 months ago by boki99
Lectura obligatoria
Libro para novatos y expertos. Guía de referencia para refactorizar aplicaciones, esto es, reescribir el código para hacerlo más legible y mantenible sin... Read more
Published 21 months ago by Justo M. Aguilar Campos
The best one in Refactoring
I read this book in one day and recovered 360 of developement. I really appreciate this old book. It don't needs update, is already perfect. I really advice this book
Published on 28 Mar 2010 by Riccardo Solimena
Who cares if you "knew this already" ?!!
Great ideas in software are often met with the "if you've been around as long as me, then you know this stuff already" line. WHO CARES?!! Read more
Published on 8 Dec 2009 by KH
Proceduralist Converted
As someone from a procedural background, i've read books on OOP and tried to embrase it into my work but never really saw the point. Read more
Published on 13 July 2009 by Richard P. Creek
If you've been around for a while, very little of this will be new to...
If you have been around for a while, the reality is that most of this book, you will (or at least should) know already. Read more
Published on 8 April 2009 by Mike Stevenson
It's always obvious in retrospect
When I first read this book it described a whole lot of practices that I'd been following for years, I just hadn't call it refactoring. Read more
Published on 13 Dec 2008 by Ian Chamberlain
Required Reading
I'd advise people to ignore the negative reviews for the following reasons:

1) People now talk about specific refactorings so, like design patterns, you need to know... Read more
Published on 29 Jun 2006 by C. Jack
Who is this book aimed at ?
The best thing I can say about this book is it uses nice paper and looks good on the book shelf.

I have no idea who this book is aimed at ! Read more
Published on 21 May 2006 by purpleblob
Not sure whether it's worth it
Big fan of Martin Fowler books, but this one looks a bit dated now. A lot of the content is common sense and whilst it's not to say that everyone out there is doing it (we all know... Read more
Published on 2 April 2006 by Mr. M. J. Small
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
&quote;
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. &quote;
Highlighted by 59 Kindle users
&quote;
When you find you have to add a feature to a program, and the program's code is not structured in a convenient way to add the feature, first refactor the program to make it easy to add the feature, then add the feature. &quote;
Highlighted by 52 Kindle users
&quote;
Before you start refactoring, check that you have a solid suite of tests. These tests must be self-checking. &quote;
Highlighted by 39 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges