第九章Refactoring to OOP Patterns 重构为OOP模式
7种设计模式:
1,模版方法模式(template method)
2,策略模式(strategy)
3,状态模式(state)
4,null 对象
5,装饰者模式(decorator)
6,适配器模式(adapter)
7,外观模式(facade)