Refactoring: Ruby Edition, Adobe Reader

Refactoring: Ruby Edition, Adobe Reader

Title:Refactoring: Ruby Edition, Adobe Reader
ISBN:9780321604170
Format Type:ebook
Number of Pages:480 pages

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


    Refactoring: Ruby Edition, Adobe Reader Reviews

  • Ash Moran

    There's some good stuff and some not so good stuff in here.The discussion about the refactoring principles and process are excellent. It ties in well with the explicit mechanics of the refactoring, wh...

  • Tim McGilchrist

    Nothing revolutionary to any experienced programmer, but a nice confirmation of how to do refactoring Ruby style.It's a great book to have in the office for starting discussions about how a piece of c...

  • Michael Koby

    A must read for any Ruby developer who isn't familiar with the specifics of refactoring. If you've heard of refactoring and think you're doing it when you move code around, you're probably doing some ...

  • Marek Skrobacki

    Mixed bag. Most of it will be common sense if you have been developing software in any language for a while. The structure of some chapters is terrible. For example, they say "In this example, you can...

  • Marshall

    Refactoring is "the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure." This is a Ruby version of the ori...

  • Chris Berkhout

    This could do with a second edition, but don't let that put you off! The foundation of Martin Fowler's original makes this book an important one. If you're working with Ruby or another dynamic languag...

  • Bill Gathen

    Excellent introduction to the discipline of refactoring. You'll see these lessons reappear everywhere both in your code and in other learning materials. Part of the canon of programming (and now witho...

  • Matteo

    Must read for ruby developersBest quote:You are likely to see new possibilities in your code, even if you have worked with it for years, once you know about the smells and the refactorings that can st...

  • Sebastian

    Good material and remains useful as a reference, but I take issue with the style of presenting each refactoring. It's effectively backwards, with a concluding recap first (minus any context), then par...

  • Enik?

    Much of the ideas told in this book are known from the Clean Code. But there was still many other valuable hints for use. And yes I would use this book as a reference too. Just put onto the valuable l...