知识卡片

普通读书笔记卡 · 1971.o.1.b.3.a

纯分析模型容易脱离实现

理解等级:高级

纯分析模型只为理解业务整理概念,不考虑软件将如何使用它。若设计阶段另建一套松散对应的抽象,分析所得的认识可能在编码时丢失;实现中出现的新问题也难反馈到原模型。原书指出,前期模型还可能深入无关主题,却遗漏应用真正需要的概念。检验它不能只看业务表述是否漂亮,还要看关键概念能否进入可运行设计。参见 [[分析模型须经实现检验]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第24章《原书第03章|A Medieval Sky Computer》(源文件:_epub-src/0321125215_ch03lev1sec1_split_001.html) - 结论依据:原文定义分析模型是不考虑软件作用的业务概念整理,并解释后续另建设计时知识会丢失,且纯前期分析常遗漏实现中才暴露的问题。 - 原始内容:It is called an analysis model because it is the product of analyzing the business domain to organize its concepts without any consideration of the part it will play in a software system. ... Some knowledge crunching happens during such an analysis, but most of it is lost when coding begins, when the developers are forced to come up with new abstractions for the design.