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
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.