Refactoring Ruby Edition

by ; ; ;
Edition: 1st
Format: Hardcover
Pub. Date: 2009-10-15
Publisher(s): Addison-Wesley Professional
List Price: $49.99

Rent Textbook

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$57.59
*To support the delivery of the digital material to you, a digital delivery fee of $3.99 will be charged on each digital item.
$57.59*

New Textbook

We're Sorry
Sold Out

Used Textbook

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Refactoring: Ruby Edition o The definitive refactoring guide, fully revamped for Ruby o 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. o This book will help you o Understand the core principles of refactoring, and the reasons for doing it o Recognize "bad smells" in your Ruby code o Rework bad designs into well-designed code, one step at a time o Build tests to make sure your refactorings work properly o Understand the challenges of refactoring and how they can be overcome o Compose methods to package code properly o Move features between objects to place responsibilities where they fit best o Organize data to make it easier to work with o Simplify conditional expressions and make more effective use of polymorphism o Create interfaces that are easier to understand and use o Generalize more effectively o Perform larger refactorings that transform entire software systems, and may take months or years o Successfully refactor Ruby on Rails code.

Author Biography

Jay F ields 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.

 

Table of Contents

Refactoring, a First Example
Principles in Refactoring
Bad Smells in Code
Building Tests
Toward a Catalog of Refactorings
Composing Methods
Moving Features Between Objects
Organizing Data
Simplifying Conditional Expressions
Making Method Calls Simpler
Dealing with Generalization
Big Refactorings
Putting It All Together
Table of Contents provided by Publisher. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.