**模板方法(Template Method)模式**,英文是 Template Method Design Pattern。在 GoF 的《设计模式》一书中,它是这么定义的:
> Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method ...
### 门面模式
**门面(Facade)模式**,也叫外观模式,英文全称是 Facade Design Pattern。在 GoF 的《设计模式》一书中,门面模式是这样定义的:
> Provide a unified interface to a set of interfaces in a subsystem. Facade Pattern defines a higher-leve...