知识卡片

普通读书笔记卡 · 1340.f.1

接口语义超出类型签名

理解等级:高级

语法说明名字、参数与类型;语义还要说明数据含义、单位、状态变化、失败后的部分副作用、发出的事件和以后操作如何受影响。操作转交控制,事件常异步通知,属性则表达权限与单位等元数据。两边都用数值类型却单位不同,仍可能发生严重集成错误。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 软件接口 · 查看原书依据

      Changes in the element’s state brought about by using the resource. This includes exceptional conditions, such as side effects from a partially completed operation. • Events that will be signaled or messages that will be sent as a result of using the resource.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第15章《软件接口》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch15.html) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Changes in the element’s state brought about by using the resource. This includes exceptional conditions, such as side effects from a partially completed operation. • Events that will be signaled or messages that will be sent as a result of using the resource.