知识卡片
借用模式术语须保留核心含义
分析模式的外形可因场景而改变,但沿用熟知术语时,要保留它指向的基本概念。这样既能利用模式积累的知识,也能让通用语言与已有解释接轨。
若模型自然演化后概念已变,应主动改名,避免团队听到同一个词却理解不同的业务关系。原书前一节误把独立的计提和付款称作双分录 Transaction,就是需要由领域专家校验术语语义的例子。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第11章|Analysis Patterns Are Knowledge to Draw On · 查看原书依据
There is one kind of change you should avoid. When you use a term from a well-known analysis pattern, take care to keep the basic concept it designates intact, however much the superficial form might change.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第86章《Analysis Patterns Are Knowledge to Draw On》(源文件:_epub-src/0321125215_ch11lev2sec3.html;单元01)
- 结论依据:原文明确要求沿用著名分析模式术语时维持其基本概念,概念变化则同步更名;前节贷款例子展示误称Transaction。
- 原始内容:There is one kind of change you should avoid. When you use a term from a well-known analysis pattern, take care to keep the basic concept it designates intact, however much the superficial form might change.