Refactoring: Ruby Edition 1st Edition, Kindle Edition
Jay Fields (Author) Find all the books, read about the author, and more. See search results for this author |
Shane Harvie (Author) Find all the books, read about the author, and more. See search results for this author |
Martin Fowler (Author) Find all the books, read about the author, and more. See search results for this author |


Learn more

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more
Read instantly on your browser with Kindle Cloud Reader.
Using your mobile phone camera - scan the code below and download the Kindle app.
- Highlight, take notes, and search in the book
- Create digital flashcards instantly

The Definitive Refactoring Guide, Fully Revamped for Ruby
With refactoring, programmers can transform even the most chaotic software into well-designed systems that are far easier to evolve and maintain. What’s more, they can do it one step at a time, through a series of simple, proven steps. Now, there’s an authoritative and extensively updated version of Martin Fowler’s classic refactoring book that utilizes Ruby examples and idioms throughout–not code adapted from Java or any other environment.
The authors introduce a detailed catalog of more than 70 proven Ruby refactorings, with specific guidance on when to apply each of them, step-by-step instructions for using them, and example code illustrating how they work. Many of the authors’ refactorings use powerful Ruby-specific features, and all code samples are available for download.
Leveraging Fowler’s original concepts, the authors show how to perform refactoring in a controlled, efficient, incremental manner, so you methodically improve your code’s structure without introducing new bugs. Whatever your role in writing or maintaining Ruby code, this book will be an indispensable resource.
This book will help you
- Understand the core principles of refactoring and the reasons for doing it
- Recognize “bad smells” in your Ruby code
- Rework bad designs into well-designed code, one step at a time
- Build tests to make sure your refactorings work properly
- Understand the challenges of refactoring and how they can be overcome
- Compose methods to package code properly
- Move features between objects to place responsibilities where they fit best
- Organize data to make it easier to work with
- Simplify conditional expressions and make more effective use of polymorphism
- Create interfaces that are easier to understand and use
- Generalize more effectively
- Perform larger refactorings that transform entire software systems and may take months or years
- Successfully refactor Ruby on Rails code
Customers who read this book also read
Editorial Reviews
About the Author
Jay Fields is a software developer for DRW Trading and a frequent conference presenter. Jay has a passion for discovering and maturing innovative solutions. Jay’s website is available at www.jayfields.com.
Shane Harvie has delivered software in Agile environments in the United States, India, and Australia. He works for DRW Trading in Chicago and blogs at www.shaneharvie.com.
Martin Fowler is Chief Scientist at ThoughtWorks and one of the world’s leading experts in the effective design of enterprise software. He has pioneered object-oriented development, patterns, agile methodologies, domain modeling, UML, and Extreme Programming. His books include Refactoring, Analysis Patterns, and UML Distilled. His book, Patterns of Enterprise Application Architecture, won Software Development’s Jolt Productivity Award and Javaworld.com’s best Java book award.
--This text refers to the paperback edition.
Product details
- ASIN : B002TIOYWG
- Publisher : Addison-Wesley Professional; 1st edition (October 15, 2009)
- Publication date : October 15, 2009
- Language : English
- File size : 15939 KB
- Simultaneous device usage : Up to 5 simultaneous devices, per publisher limits
- Text-to-Speech : Enabled
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 631 pages
- Lending : Not Enabled
- Best Sellers Rank: #1,082,035 in Kindle Store (See Top 100 in Kindle Store)
- #54 in Ruby Computer Programming
- #142 in Ruby Programming
- #242 in Object Oriented Design
- Customer Reviews:
About the authors
Discover more of the author’s books, see similar authors, read author blogs and more
Discover more of the author’s books, see similar authors, read author blogs and more
For all of my career I've been interested in the design and architecture of software systems, particularly those loosely classed as Enterprise Applications. I firmly believe that poor software design leads to software that is difficult to change in response to growing needs, and encourages buggy software that saps the productivity of computer users everywhere.
I'm always trying to find out what designs are effective, what approaches lead people into trouble, how we can organize our work to do better designs, and how to communicate what I've learned to more people. My books and website are all ways in which I can share what I learn and I'm glad I've found a way to make a living doing this.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
And although the purely technical and immediately practical part of the book is of course invaluable, I liked the most the closing chapter 13: “Putting it all together”. I know this is may be only me, and I don’t mind that. ;)
Here is one of the take-away quotes:
“Stopping is the strongest move in the refactorer’s repertoire.”
Techniques you might already be doing intuitively, and many you probably don't, are described with clear examples and detail helping you convert intuitive decisions into a continuous working method.
This book is a cornerstone for people who is serious about Ruby and want their code to be readable, robust, built from testing, beautiful and easy to change.
There are so many errors.
Many refactorings start at the end of a page and are immediately cut by the page. It is a very unpleasant reading experience.
Strongly recommend go for the classic JAVA edition.
Top reviews from other countries
