Description
All-Ruby Refactoring Workbook!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.
Refactoring in Ruby will help you
*
*
*
*
*
*
*
*
*
* after you refactor
CONTENTS:
Foreword xvii
Preface xix
About the Authors xxiii
Chapter 1: A Refactoring Example 3
Chapter 2: The Refactoring Cycle 19
The Refactoring Environment 25
Chapter 4: Refactoring Practice 35
Chapter 5: Measurable Smells 41
Chapter 6: Names 57
Chapter 7: Unnecessary Complexity 65
Chapter 8: Duplication 79
Chapter 9: Conditional Logic 93
Chapter 10: Data 107
Chapter 11: Inheritance 125
Chapter 12: Responsibility 135
Chapter 13: Accommodating Change 153
Chapter 14: Libraries 163
Chapter 15: A Simple Game 173
Chapter 16: Time Recording 183
Chapter 17: Calculator 197
Appendix A: Answers to Selected Questions 215
Appendix B: Ruby Refactoring Tools 251
Published
02 Nov 2009
Publisher
ADDISON-WESLEY
ISBN
9780321545046
Pages
263




Static Book Details Index Page - Click Here to go to Computer Manuals Website