知识卡片
依赖与接口的双重视角
依赖是系统消费而无法控制排期与演进的外部能力,可能来自供应商,也可能来自同公司其他团队。接口是反方向:别人消费你的能力,你的改动会给消费者带来迁移成本。互相调用会同时具备两种责任,需要从双方影响审视变化。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- To Practice Architecture Is to Decide · 查看原书依据
I like to think of dependencies as things your system interacts with that you do not control. This lack of control may be because this system is a service provided by a third party. Or it’s a platform that you run on (such as the container provided by a framework like Drupal, or a
参考来源
- 位置:《Facilitating Software Architecture》第02章《To Practice Architecture Is to Decide》(来源项目 /Users/wangyi/claudecodeProject/bookBase/book-sources;源文件:extracted/Facilitating Software Architecture/_epub-src/OEBPS/ch02.html)
- 结论依据:原文以lack of control界定依赖,继而把interface定义为别人依赖你,指出多向关系的管理难度。
- 原始内容:I like to think of dependencies as things your system interacts with that you do not control. This lack of control may be because this system is a service provided by a third party. Or it’s a platform that you run on (such as the container provided by a framework like Drupal, or a