知识卡片
大型结构须随领域理解迭代而调整
有用的大型结构依赖对领域与问题的深入理解,这通常来自迭代开发。项目初期理解尚浅,团队不应把当时设想的结构固定到最后;随着模型深化,应敢于重新审视整体结构。
最终结构无法在开工时完整给出,因此必须逐步重构已有模型和代码。重构有成本,但原书将其视为获得贴合领域结构的必要工作。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第16章|Refactoring Toward a Fitting Structure · 查看原书依据
In an era when the industry is shaking off excessive up-front design, some will see large-scale structure as a throwback to the bad old days of waterfall architecture. But in fact, the only way a useful structure can be found is from a very deep understanding of the domain and the problem, and the practical way to that understanding is an iterative development process.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第134章《Refactoring Toward a Fitting Structure》(源文件:_epub-src/0321125215_ch16lev1sec7.html)
- 结论依据:原文把深刻领域理解、迭代过程和持续重构关联起来,反对早期结构长期固化。
- 原始内容:In an era when the industry is shaking off excessive up-front design, some will see large-scale structure as a throwback to the bad old days of waterfall architecture. But in fact, the only way a useful structure can be found is from a very deep understanding of the domain and the problem, and the practical way to that understanding is an iterative development process.