知识卡片
术语必须语义明确
同一语言范围内,一个词应只有一个含义,同一概念也不应被多个可互换词指代。保险合同与监管规则不能都模糊地叫policy;visitor与account看似同义,却可能代表不同身份与行为。澄清词义可以暴露隐藏规则,并得到更简单的模型,而不是只做文字统一。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 发现领域知识 · 查看原书依据
The ubiquitous language must be precise and consistent. It should eliminate the need for assumptions and should make the business domain’s logic explicit. Since ambiguity hinders communication, each term of the ubiquitous language should have one and only one meaning. Let’s look at a few examples of unclear terminology and how it can be improved.
参考来源
- 位置:《Learning Domain-Driven Design》第2章《发现领域知识》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch02.html)
- 结论依据:原文对该概念的定义、应用条件及相邻概念的比较支撑本卡解释。
- 原始内容:The ubiquitous language must be precise and consistent. It should eliminate the need for assumptions and should make the business domain’s logic explicit. Since ambiguity hinders communication, each term of the ubiquitous language should have one and only one meaning. Let’s look at a few examples of unclear terminology and how it can be improved.