知识卡片
归并会集中入向耦合
归并公共功能减少重复,却会把依赖集中到一个组件。Sysops Squad三个通知组件的入向数是2、2、1,归并后为5:总连接数没变,但5个使用方现在依赖同一点。应重新检查集中后的影响与维护风险,再决定是否接受,不能只比较全局连接总和或代码重复量。
相关:[[归并共同领域功能]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 基于组件的分解模式 · 查看原书依据
Addison and Austen both realized how important it was to analyze the coupling level after consolidating common domain functionality. In some cases, combining common domain functionality into a single consolidated component increased the incoming coupling level of that component, thus resulting in too many dependencies on a single shared component within the application.
参考来源
- 位置:《Software Architecture: The Hard Parts》第5章《基于组件的分解模式》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch05.xhtml)
- 结论依据:原文的定义、比较或案例支持“归并公共功能减少重复,却会把依赖集中到一个组件”;正文据此解释其用途与适用边界。
- 原始内容:Addison and Austen both realized how important it was to analyze the coupling level after consolidating common domain functionality. In some cases, combining common domain functionality into a single consolidated component increased the incoming coupling level of that component, thus resulting in too many dependencies on a single shared component within the application.