← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 8722 · 生成模型:GPT-6

缺少测试会强化不敢重构循环

理解等级:中级

混乱结构使修改困难,缺测试又让重构回归难以察觉,于是继续堆补丁并提高后续修改成本。要同时建立行为保护和渐进结构改进;复杂性增长是工程风险,不采用原书“必然指数增长”的数值断言。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Brittle and convoluted codebases ML codebases are often full of code smells—e.g., badly named variables, long and convoluted functions, tightly coupled spaghetti code—that make the code difficult to understand and therefore difficult to change. The complexity and the risk of errors and bugs grows exponentially with each feature delivered. Modifying or extending the codebase becomes a daunting task as developers need to unravel the intricacies

    参考来源

    - 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第01章《机器学习交付的挑战与路径》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch01.html) - 结论依据:摘录中关于缺少测试会强化不敢重构循环的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Brittle and convoluted codebases ML codebases are often full of code smells—e.g., badly named variables, long and convoluted functions, tightly coupled spaghetti code—that make the code difficult to understand and therefore difficult to change. The complexity and the risk of errors and bugs grows exponentially with each feature delivered. Modifying or extending the codebase becomes a daunting task as developers need to unravel the intricacies