知识卡片

普通读书笔记卡 · 3350

害怕重构会放大风险

理解等级:中级

当团队因重构曾引发故障而冻结旧代码,新增功能仍要穿过旧结构,却更可能复制缺陷并扩大耦合;新故障又强化“不敢改”的心态。冻结只能暂时降低触碰次数,不能消除变化需求,应通过可控重构改善结构。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第1章《What’s Wrong with Monoliths?》(源文件:`_epub-src/OPS/ch01.xhtml`,归一化正文 [50093:54239)) - 结论依据:原文描述重构失败、冻结、继续新增功能和风险增强的反馈循环。 - 原始内容:Fear of change is the pinnacle of issues with the monolith. Engineers become afraid of refactoring the code to improve the structure. Engineers are often aware of the anti-patterns like high coupling, wrong abstractions, lack of isolation, lack of testing, lack of ownership, and technical debt on the monolith.