共同重用原则,面向对象编程术语,指一个包中的所有类应该是共同重用的。如果重用了包中的一个类,那么也就相当于重用了包中的所有类。
The Reuse/Release Equivalence Principle(REP) 重用-发布等价原则 The Common Reuse Principle(CRP) 共同重用原则 The Common Closure Principle(CCP) 共同封闭原则 ..
基于20个网页-相关网页
共同重用原则(Common-Reuse Principle,CRP):一个组件中的所有类应该是共同重用的。如果重用了组件中的一个类,那么就要重用组件中的所有类。
基于6个网页-相关网页
... 3. 共同封装原则(Common Closure Principle - CCP) 4. 共同重用原则(Common Reuse Principle - CRP) 5. 好莱坞原则(Hollywood Principle - HP) ...
基于2个网页-相关网页
应用推荐