本书提炼和反映了全球模式、重构和敏捷开发社区60多位软件工程领域先驱的思想和观点,介绍了以模式为导向的重构方法的理论和实践。通过使用实际项目的代码,本书记录了潜藏在20多个基于模式的设计转换之下的思想方法和设计步骤。同时,本书对于模式差异以及如何以尽可能简单的方式实现模式提出了颇有见解的观点。不管你正在集中精力进行遗留开发还是新型开发,本书都将帮助你学会如何安全、有效地做出重要的设计变更,使你成为更好的软件设计人员。
Foreword by Ralph Johnson
Foreword by Martin Fowler
Preface
What Is This Book About?
What Are the Goals of This Book?
Who Shou|d Read This Book?
What Background Do You Need?
How to Use This Book
The History of This Book
Standing on the Shoulders of Giants
Acknowledgments
Chapter 1: Why I Wrote This Book
Over-Engineering
The Patterns Panacea
Under-Engineering
Test-Driven Development and Continuous Refactoring
Refactoring and Patterns
Evolutionary Design
Chapter 2: Refactoring
What Is Refactoring?
What Motivates Us to Refactor?
Many Eyes
Human-Readable Code
Keeping It Clean
Small Steps
Design Debt
Evolving a New Architecture
Composite and Test-Driven Refactorings
The Benefits of Composite Refactorings
Refactoring Tools
Chapter 3: Patterns
……