接口分离原则(the Interface Segregation Principle ISP) 计算机软件产品开发文件编制指南GB8567-88》中规定,在一项软件开发过程中,一般来说应该产生14种文件,其中管理人员主要使...
基于77个网页-相关网页
The Interface Segregation Principle.
接口分离原则。
The Interface Segregation Principle: clients should not be forced to depend upon methods that they do not use. Interfaces belong to clients, not to hierarchies.
客户只要关注它们所需的接口,而不应该强迫客户依赖于它们不用的方法。
The Interface Segregation principle ensures that Interfaces are developed so that each of them have their own responsibility and thus they are specific, easily understandable, and re-usable.
接口隔离原则确保实现的接口有他们共同的职责,它们是明确的,易理解的,可复用的.
应用推荐