知识卡片

普通读书笔记卡 · 1971.o.3.c

提炼模型要删除无用概念

理解等级:中级

提炼领域模型同时包含增加与删减:新认识让重要概念进入模型;对当前问题无用或不居核心的概念则应退出。如果无用概念与必需概念纠缠,先重构两者的边界,再删除前者,避免连同必要知识一起丢掉。删减依据是模型能否支持当前问题,而不是现实中有没有这个事物。参见 [[模型按问题有意简化]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第01章|Ingredients of Effective Modeling · 查看原书依据

      Important concepts were added to the model as it became more complete, but equally important, concepts were dropped when they didn't prove useful or central. When an unneeded concept was tied to one that was needed, a new model was found that distinguished the essential concept so that the other could be dropped.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第11章《原书第01章|Ingredients of Effective Modeling》(源文件:_epub-src/0321125215_ch01lev1sec1.html) - 结论依据:原文将新增重要概念与删除无用概念并列,并说明当两者纠缠时,应寻找能区分必要部分的新模型后再删减;末句把取舍标准与本书此前的选择性抽象联系起来。 - 原始内容:Important concepts were added to the model as it became more complete, but equally important, concepts were dropped when they didn't prove useful or central. When an unneeded concept was tied to one that was needed, a new model was found that distinguished the essential concept so that the other could be dropped.