... 打开关闭原则 The Open/Closed Principle (OCP) 延伸阅读(Further Reading ): 组合超越继承 Composition over Inheritance ...
基于1个网页-相关网页
以上来源于: WordNet
I find myself agreeing with Ashraf in his advocation of using basic oo design principles (encapsulation, loose coupling, favour composition over inheritance etc) concepts in applying these to SOA.
我比较赞同ashraf的观点——将OO的设计原则(封装、松耦合、重组合轻继承)应用于SOA。
Favor composition over inheritance.
优先使用组合,而不是继承。
应用推荐