知识卡片

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

突破性重构需核算迁移风险与后续代价

理解等级:中级

原书团队发现 Share Pie 模型更贴合业务时,项目已延期且缺少自动化测试;改动会暂时影响部分功能,没有稳定的中间停点。经理比较恢复现有功能所需约三周、旧模型能否解决问题、将来安装基础形成后修改是否更难,才承担决策压力批准重构。作者报告团队约三周完成,之后需求变化较易解释、舍入逻辑趋稳。这个结果属于作者当时项目,不能把“三周”当通用估算;该卡保留决策维度与已发生结果的区别。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第08章|What Is a "Facility"? · 查看原书依据

      We could see a sequence of small steps to get there, but parts of the application would be disabled along the way. And this was before the age when automated tests were widely used on such projects. We had none, so there was bound to be unforeseen breakage. And it was going to take effort. We were already exhausted from months of pushing.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第64章《原书第08章|What Is a Facility?》(源文件:_epub-src/0321125215_ch08lev1sec1_split_001.html;单元03) - 结论依据:原文给出缺少测试和中途功能受损的风险,经理逐项询问短期迁移成本、替代方案、未来修改代价与业务匹配,随后记述实际实施结果。 - 原始内容:We could see a sequence of small steps to get there, but parts of the application would be disabled along the way. And this was before the age when automated tests were widely used on such projects. We had none, so there was bound to be unforeseen breakage. And it was going to take effort. We were already exhausted from months of pushing.