← 返回刚才阅读的位置

知识卡片

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

首版成功不证明易扩展

理解等级:高级

简单的首版软件可以靠临时设计交付,但上线成功只证明当时的功能可用,不能证明业务逻辑能承受后续扩展。原书对比两个交易系统:一方缺少领域模型和共同语言,第二版被业务逻辑拖住;另一方持续提炼模型并在代码中表达,后续迭代更容易扩展。判断设计是否有余地,应观察新需求到来时概念与代码能否继续演进,而非只看首版速度。两个项目的结果是原书案例,不构成所有项目的必然规律。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Contrasting Three Projects · 查看原书依据

      The team was able to respond to the needs of the traders with flexibility and expanding capability. This upward trajectory was directly attributable to an incisive domain model, repeatedly refined and expressed in code.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第03章《Contrasting Three Projects》(源文件:_epub-src/0321125215_fm01lev1sec1.html) - 结论依据:原书先写第一项目快速交付后因缺少领域模型与共同语言而无法顺利交付第二版,再写第二项目依靠反复提炼并写入代码的模型持续扩展;两例共同支持“首版可用不等于后续易扩展”,最后一句是对案例外推范围的限定。 - 原始内容:Their first release had ossified prematurely into a high-maintenance legacy. ... The team was able to respond to the needs of the traders with flexibility and expanding capability. This upward trajectory was directly attributable to an incisive domain model, repeatedly refined and expressed in code.