← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2295.f.3.b

使用关系决定可用子集

理解等级:中级

模块A使用B,指A的正确运行需要一个正确工作的B,而非只需占位桩。追踪这种关系能决定某个增量必须包含哪些模块,以及哪些功能可独立抽取或扩展;它还揭示应沟通的团队边界。仅看源码中有无名字引用不足以说明完整语义依赖。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 什么是软件架构 · 查看原书依据

      One unit of software uses another if the correctness of the first requires the presence of a correctly functioning version (as opposed to a stub) of the second. The uses structure is used to engineer systems that can be extended to add functionality, or from which useful functional subsets can be extracted.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第1章《什么是软件架构》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch01.html) - 结论依据:原文的定义、机制或比较支持“模块A使用B,指A的正确运行需要一个正确工作的B,而非只需占位桩”;正文保留其条件与取舍。 - 原始内容:One unit of software uses another if the correctness of the first requires the presence of a correctly functioning version (as opposed to a stub) of the second. The uses structure is used to engineer systems that can be extended to add functionality, or from which useful functional subsets can be extracted.