← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1971.o.1.c.1.f.3

深层重构不等完整收益证明

理解等级:高级

模型改动若必须先算出完整收益才获准,往往已经太晚:别扭设计持续带来绕路成本,目标代码也会越写越多、依赖越嵌越深。软件开发的收益与不改的代价很难精确预测,因此可把有依据的模型重构纳入持续领域探索。

可观察信号是设计未表达团队当前理解、重要概念仍隐含,或看见能让关键部分更柔性的做法。提出重构时应说明具体领域失配和可尝试的方向,而不是声称已量化全部回报。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第13章|Timing · 查看原书依据

      If you wait until you can make a complete justification for a change, you've waited too long. Your project is already incurring heavy costs, and the postponed changes will be harder to make because the target code will have been more elaborated and more embedded in other code.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第96章《Timing》(源文件:_epub-src/0321125215_ch13lev1sec5.html;单元01) - 结论依据:原文指出等待完整证明会累积成本,软件变化收益难精确计算,并列出领域理解、隐含概念、关键柔性三类时机。 - 原始内容:If you wait until you can make a complete justification for a change, you've waited too long. Your project is already incurring heavy costs, and the postponed changes will be harder to make because the target code will have been more elaborated and more embedded in other code.