知识卡片
自由重构时间优先改善核心分离与支持子域
有可自由安排的重构时间时,原书建议把注意力优先投向三处:改善核心领域内部结构、加强核心与外围的隔离、把合适的支持子域提纯为通用子域。原文将三者并列,并未规定先后步骤。
这是一条相对于边缘问题的优先级原则,不是每轮必须完成三项的流水线;具体取舍仍要看核心与支持部分的现状、成本和团队目标。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第15章|Choosing Refactoring Targets · 查看原书依据
When you have the luxury of refactoring freely, you focus first on better factoring of the CORE DOMAIN, on improving the segregation of the CORE, and on purifying supporting subdomains to be GENERIC.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第126章《Choosing Refactoring Targets》(源文件:_epub-src/0321125215_ch15lev1sec10.html;单元01)
- 结论依据:原文列出自由重构时应优先改善核心结构、核心隔离和通用子域提纯,作为提高投入效益的方法。
- 原始内容:When you have the luxury of refactoring freely, you focus first on better factoring of the CORE DOMAIN , on improving the segregation of the CORE , and on purifying supporting subdomains to be GENERIC .