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.