知识卡片

普通读书笔记卡 · 2299.h.1.a

语法解耦不等整体独立

理解等级:高级

服务仅经接口协作可减少源码层依赖,却仍可能共享协议知识、时序假设或有限资源。这些依赖通常不显式出现在语言接口中,遗漏会让未来集成、修改与调试更昂贵。完整接口契约要描述相关行为、语义和环境条件,而不只是函数签名。

相关:[[接口距离包含五个维度]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可集成性 · 查看原书依据

      Service orientation, by itself, addresses (that is, reduces) only the syntactic aspects of dependency; it does not address the temporal or semantic aspects. Supposedly decoupled components that have detailed knowledge of each other and make assumptions about each other are in fact tightly coupled, and changing them in the future may well be costly.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第7章《可集成性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch07.html) - 结论依据:原文的定义、机制或比较支持“服务仅经接口协作可减少源码层依赖,却仍可能共享协议知识、时序假设或有限资源”;正文保留其条件与取舍。 - 原始内容:Service orientation, by itself, addresses (that is, reduces) only the syntactic aspects of dependency; it does not address the temporal or semantic aspects. Supposedly decoupled components that have detailed knowledge of each other and make assumptions about each other are in fact tightly coupled, and changing them in the future may well be costly.