Modularity is the division of a program into modules that can be written, understood, tested and changed separately. Coupling is the degree to which one module depends on the details of another; cohesion is the degree to which the parts of one module serve a single purpose. Information hiding is the choice of module boundaries so that each module hides a design decision likely to change, behind an interface that does not reveal it. Dependency inversion makes a high-level module and a low-level one both depend on an interface owned by the high-level side, instead of the high-level module depending on the low-level one.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Modularity, coupling, cohesion, information hiding, dependency inversion?
又称: modularity · coupling · cohesion · information hiding · dependency inversion