Boek
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 youUnderstand the core principles of refactoring and the reasons for doing itRecognize bad smells in your Ruby codeRework bad designs into well-designed code, one step at a timeBuild tests to make sure your refactorings work properlyUnderstand the challenges of refactoring and how they can be overcomeCompose methods to package code properlyMove features between objects to place responsibilities where they fit best Organize data to make it easier to work withSimplify conditional expressions and make more effective use of polymorphismCreate interfaces that are easier to understand and use Generalize more effectivelyPerform larger refactorings that transform entire software systems and may take months or yearsSuccessfully refactor Ruby on Rails code «
Boeklezers.nl is een netwerk voor sociaal lezen. Wij helpen lezers nieuwe boeken en schrijvers ontdekken, en brengen lezers met elkaar en schrijvers in contact. Meer lezen »
Er zijn nog geen recensies voor dit boek.