← 返回刚才阅读的位置

知识卡片

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

大型结构应随领域理解演进而改变

理解等级:高级

没有规则的大系统会失去整体秩序;但一开始就冻结全局架构,也可能迫使应用模型迁就错误假设,或让每次调整都变成艰难协商。原书主张让概念性大型结构随应用演进,必要时甚至换成另一类结构。

规则应来自对领域和实际设计经验的理解,并保留局部细节设计的判断空间。目标是让规则帮助团队选出合适设计,而非把模型压进预先决定的技术框架。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第128章《Evolving Order》(源文件:_epub-src/0321125215_ch16lev1sec1.html;单元01) - 结论依据:原文同时说明无序设计与预设架构的代价,并明确要求大型结构随应用演进,避免过度约束局部模型决策。 - 原始内容:Design free-for-alls produce systems no one can make sense of as a whole, and they are very difficult to maintain. But architectures can straitjacket a project with up-front design assumptions and take too much power away from the developers/designers of particular parts of the application. Soon, developers will dumb down the application to fit the structure, or they will subvert it and have no structure at all, bringing back the problems of uncoordinated development. [...] Let this conceptual large-scale structure evolve with the application, possibly changing to a completely different type of structure along the way. Don't overconstrain the detailed design and model decisions that must be made with detailed knowledge. - 转录说明:`[...]` 标明省略中间的规则来源与适配段落。