Refactoring: Ruby Edition

Refactoring: Ruby Edition
ISBN-10
0321604172
ISBN-13
9780321604170
Series
Refactoring
Category
Computers
Pages
480
Language
English
Published
2009-10-15
Publisher
Pearson Education
Authors
Martin Fowler, Kent Beck, Jay Fields

Description

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

Other editions

Similar books

  • Refactoring: Improving the Design of Existing Code
    By Martin Fowler, Kent Beck

    It can transform the internal dynamics of applications and has the capacity to transform bad code into good code. This book offers an introduction to refactoring.

  • Refactoring Databases: Evolutionary Database Design (paperback)
    By Scott W. Ambler, Pramod J. Sadalage

    The second half of this book systematically covers five major categories of database refactorings.

  • Refactoring: Improving The Design Of Existing Code
    By Fowler

    Refactoring: Improving The Design Of Existing Code

  • Refactoring for Software Design Smells: Managing Technical Debt
    By Girish Suryanarayana, Ganesh Samarthyam, Tushar Sharma

    A root cause analysis of this problem pointed to the refactoring that the developer had performed. While refactoring the large and complex method, he had accidentally broken the logic that involved thread termination.

  • Refactoring Workbook
    By William C. Wake

    Refactoring Workbook provides user-friendly references such as: A handy, quick-reference "smell finder" A standard format for describing smells Appendices showing key refactorings A listing of Java(tm) tools that support refactoring This ...

  • Professional Refactoring in Visual Basic
    By Danijel Arsenovski

    As you will see, there is no single tool that encompasses all the functionality you need for a successful refactoring process. Visual Studio is on the road to providing a unified solution, but for the time being you have to make an ...

  • Refactoring to Patterns
    By Joshua Kerievsky

    This book introduces the theory and practice of pattern-directed refactorings: sequences of low-level refactorings that allow designers to safely move designs to, towards, or away from pattern implementations.

  • Rails AntiPatterns: Best Practice Ruby on Rails Refactoring
    By Chad Pytel, Tammer Saleh

    This book will help you understand, avoid, and solve problems with Model layer code, from general object-oriented programming violations to complex SQL and excessive redundancy Domain modeling, including schema and database issues such as ...

  • Refactoring HTML: Improving the Design of Existing Web Applications
    By Elliotte Rusty Harold

    It is not uncommon for people ranging from the CEO to managers to HTML grunts to object to the concept of refactoring. The concern is expressed in many ways, but it usually amounts to this: We don't have the time to waste on cleaning up ...

  • Refactoring with Relations. A New Method for Refactoring Object-Oriented Software
    By Jr., Sergio Pissanetzky

    Refactoring is about structure, and the book is about structure. The book proceeds to discuss the structure of code, argues that it needs to be identified, separated from language constructs, and encapsulated into a container.