资源说明:在此摘抄官方的介绍:
This book will help you
这本书会帮助你:
• Understand the core principles of refactoring and the reasons for doing it
理解重构的核心原则以及为什么要这么做
• Recognize “bad smells” in your Ruby code
发现你 Ruby 代码中的 "bad smells"
• 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
运用 package 的思想来重构 methods
• 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
成功的重构 ROR 代码
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。