知识卡片
反复出现的业务词可能揭示缺失概念
Share Pie 重构后,作者团队发现 Facility 和 Loan 的方法仍塞着提款、付费等规则;讨论中又反复出现“transaction”,模型里却无对应概念。旧设计留下的责任拥挤与共同语言中的缺词一起提示:可能漏掉一个关键实体。团队据此把金融交易显化,获得更清晰的职责划分。这是作者项目经历;实际建模时,反复出现的词应作为调查线索,仍须核对其业务身份与行为,不能见词就建类。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第08章|Epilogue: A Cascade of New Insights · 查看原书依据
Now we noticed terms popping up in our discussions that were nowhere to be found in the modelterms such as "transaction" (meaning a financial transaction)that we started to realize were being implied by all those complicated methods. Following a process similar to the one described earlier (although, thankfully, under much less time pressure) led to yet another round of insights and a still deeper model.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第67章《原书第08章|Epilogue: A Cascade of New Insights》(源文件:_epub-src/0321125215_ch08lev1sec4.html;图8.9)
- 结论依据:原文指出 Facility/Loan 中挤入多种规则,讨论里出现尚未进入模型的 transaction,随后团队将隐含概念显化。
- 原始内容:Now we noticed terms popping up in our discussions that were nowhere to be found in the modelterms such as "transaction" (meaning a financial transaction)that we started to realize were being implied by all those complicated methods. Following a process similar to the one described earlier (although, thankfully, under much less time pressure) led to yet another round of insights and a still deeper model.