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.