To follow good OO design practice and program to interfaces rather than classes. This is a fundamental teaching of the classic Design Patterns text, and too often neglected.
英
美
- 利用了良好的OO设计习惯和面向接口编程,有一个利用设计模式的基础构架也非常关键。