知识卡片
轻量结构只处理最重要的整体问题
降低大型结构演进成本的做法是保持简单、轻量:先解决最严重的整体问题,其余按具体情况处理。早期可以用松散的系统隐喻,或少量责任层提供共同方向,不必急于覆盖所有设计细节。
结构是帮助团队防止混乱的指导,而不是预先列出每个模块和每种例外的完整规则集。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第16章|Refactoring Toward a Fitting Structure · 查看原书依据
One key to keeping the cost down is to keep the structure simple and lightweight. Don't attempt to be comprehensive. Just address the most serious concerns and leave the rest to be handled on a case-by-case basis.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第134章《Refactoring Toward a Fitting Structure》(源文件:_epub-src/0321125215_ch16lev1sec7.html)
- 结论依据:原文Minimalism段明确要求不求全面,只处理主要关注点,并举松散隐喻或少量责任层为例。
- 原始内容:One key to keeping the cost down is to keep the structure simple and lightweight. Don't attempt to be comprehensive. Just address the most serious concerns and leave the rest to be handled on a case-by-case basis.