← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1903.c.1.b.3.a.2

耦合看联动修改

理解等级:中级

耦合描述不同组件之间的关系:一方改变常要求另一方同时修改,就属于紧耦合。存在依赖不一定紧耦合,若提供者改变通常不影响消费者,仍可松耦合。拆小组件若保留频繁联动的边界,只是把内部复杂度变成协调成本,未获得真正独立性。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 基础设施代码设计原则 · 查看原书依据

      Coupling describes the relationships among elements in different components. As with cohesion, considering the scope of common changes helps you understand the level of coupling. Two components are described as highly coupled, or tightly coupled, when it’s common for a change to one component to require a change to the other. Components are considered loosely

    参考来源

    - 位置:《Infrastructure As Code》第5章《基础设施代码设计原则》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch05.html) - 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。 - 原始内容:Coupling describes the relationships among elements in different components. As with cohesion, considering the scope of common changes helps you understand the level of coupling. Two components are described as highly coupled, or tightly coupled, when it’s common for a change to one component to require a change to the other. Components are considered loosely