Advanced Search
Start Your Free Trial

Overview

Recent Rough Cuts

Refactoring: Ruby Edition

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, for the first time, there’s an authoritative, definitive guide to refactoring Ruby code. Based on the Martin Fowler book that invented refactoring, this book 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

Purchase Options

The Rough Cuts service offers several options. You can purchase online access to the book with unlimited online viewing and PDF downloads of each revision, pre-purchase the print book at a significant discount, or get the best of both worlds - online access immediately and the discounted print book later. Any way you cut it, you will receive the finished product when it is published. Rough Cuts books are published from a few months to a year after being included in the program. Note: Safari Library subscribers have unlimited online access to all Rough Cuts books.

 

Purchase "Refactoring: Ruby Edition"
Retail Price: USD $49.99

Refactoring: Ruby Edition

 

USD $67.48

 

USD $34.99

USD $49.99

USD $34.99


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2009 Safari Books Online. All rights reserved.