Refactoring Ruby Edition by Jay Fields, Shane Harvie, Martin Fowler, Kent Beck
  

Synopsis

Refactoring Ruby Edition by Jay Fields, Shane Harvie, Martin Fowler, Kent Beck

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, 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 * 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

About the Author

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.

More books by this author

Other Formats

Book Info

Format

Paperback
480 pages

Author

Jay Fields, Shane Harvie, Martin Fowler, Kent Beck
More books by Jay Fields, Shane Harvie, Martin Fowler, Kent Beck

Publisher

Publication date

15th October 2009

ISBN

9780321984135


I love Lovereading as it provides an honest opinion and showcases a range of fiction. Suited to both parents & kids alike, it’s a must-use.

Georgie Rowe – age 16

I love lovereading4kids because I’ve read amazing books I would never have picked up, and its opened doors to new genre’s I now love.

Harriet Cunningham

It gives me a chance to read types of books that I would not normally try, and it motivates me to read every night to finish it!

Alice Horncastle, age 14

It’s a community united by a passion for books and promoting the best there is in children’s literature.

Sam Bateman and family

It’s so easy to find the right book for your child. Such an easy-to-use, yet in-depth website. 100% reliable.

Pippa, Jack, Liam & Matthew Wils

I love all the books they recommend & put up for me to review. I also love the fact that they give new authors the chance to share their boo

Daisy Pennock – age 15

It is fantastic, you get to read lots of books and you always find something new and amazing in them.

Erica Motoc, age 7

I love finding new books to read. My mummy and me look at the new ones coming out. I have written reviews of some of them!

Jessica Cobbin – age 7
Lovereading

Lovereading 4 schools