Refactoring: Ruby Edition: Ruby Edition (Addison‐Wesley Professional Ruby Series) - KaedenHanson/KaedenHansonbook GitHub Wiki

 

Refactoring: Ruby Edition: Ruby Edition (Addison-Wesley Professional Ruby Series)



Refactoring: Ruby Edition: Ruby Edition (Addison-Wesley Professional Ruby Series)






The Definitive Refactoring Guide, Fully Revamped for Ruby nbspWith refactoring, programmers can transform even the most chaotic software into well-designed systems that are far easier to evolve and maintain. What8217s more, they can do it one step at a time, through a series of simple, proven steps. Now, there8217s an authoritative and extensively updated version of Martin Fowler8217s classic refactoring book that utilizes Ruby examples and idioms throughout8211not code adapted from Java or any other environment.nbspThe 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 authors8217 refactorings use powerful Ruby-specific features, and all code samples are available for download. nbspLeveraging Fowler8217s original concepts, the authors show how to perform refactoring in a controlled, efficient, incremental manner, so you methodically improve your code8217s structure without introducing new bugs. Whatever your role in writing or maintaining Ruby code, this book will be an indispensable resource. nbspThis book will help you8226nbspnbspnbsp Understand the core principles of refactoring and the reasons for doing it8226nbspnbspnbsp Recognize 8220bad smells8221 in your Ruby code8226nbspnbspnbsp Rework bad designs into well-designed code, one step at a time8226nbspnbspnbsp Build tests to make sure your refactorings work properly8226nbspnbspnbsp Understand the challenges of refactoring and how they can be overcome8226nbspnbspnbsp Compose methods to package code properly8226nbspnbspnbsp Move features between objects to place responsibilities where they fit best 8226nbspnbspnbsp Organize data to make it easier to work with8226nbspnbspnbsp Simplify conditional expressions and make more effective use of polymorphism8226nbspnbspnbsp Create interfaces that are easier to understand and use 8226nbspnbspnbsp Generalize more effectively8226nbspnbspnbsp Perform larger refactorings that transform entire software systems and may take months or years8226nbspnbspnbsp Successfully refactor Ruby on Rails code

--
⚠️ **GitHub.com Fallback** ⚠️