eBooks-it.org Logo
eBooks-IT.org Inner Image

Refactoring

Ruby Edition

Refactoring Image

Book Details:

Publisher:Addison-Wesley Professional
Series: Addison Wesley
Author:Jay Fields
Edition:1
ISBN-10:0321603508
ISBN-13:9780321603500
Pages:480
Published:Oct 25 2009
Posted:Nov 19 2014
Language:English
Book format:PDF
Book size:3.3 MB

Book 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 throughoutnot 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

Download Link:

Related Books:

Refactoring

Improving the Design of Existing Code
Refactoring Image
Refactoring is about improving the design of existing code. It 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. With refactoring you can even take a bad design and rework it into a good one. This book offers a thorough discussion of the principles of refactoring, including where to spot opportunities for refactoring, and how to set up the required tests. There is also a catalog of more than 40 proven refactorings with details as to when and why to use the refactoring, step by step instructions for implementing it, and an example illustrating how it works The book is written using Java as its principle language, but the ideas are applicable to any ...

Refactoring in Ruby

Refactoring in Ruby Image
The First Hands-On, Practical, All-Ruby Refactoring Workbook! Refactoringthe art of improving the design of existing codehas taken the world by storm. So has Ruby. Now, for the first time, there's a refactoring workbook designed from the ground up for the dynamic Ruby language. Refactoring in Ruby gives you all the realistic, hands-on practice you need to refactor Ruby code quickly and effectively. You'll discover how to recognize 'code smells,' which signal opportunities for improvement, and then perfect your program's design one small, safe step at a time. The book shows you when and how to refactor with both legacy code and during new test-driven development, and walks you through real-world refactoring in detail. The workbook concludes w...

Pro PHP Refactoring

Pro PHP Refactoring Image
Many businesses and organizations depend on older high-value PHP software that risks abandonment because it is impossible to maintain. The reasons for this may be that the software is not well designed; there is only one developer (the one who created the system) who can develop it because he didnt use common design patterns and documentation; or the code is procedural, not object-oriented. With this book, youll learn to identify problem code and refactor it to create more effective applications using test-driven design. What youll learn What refactoring is and why you need to refactor code What test-driven design is and why you need to test your code How to write unit and functional tests with PHPUnit and Selenium Remote Control (RC) How to dete...



2007 - 2021 © eBooks-IT.org