知识卡片
维护时降低接手成本
长期维护可以从每一次改动开始。写让半年后的同事读得懂的变量名,安排时间时修正过时文档、整理运行环境、顺手清理改动周边的问题。以当前交付边界和后续维护收益判断该做多少,观察值得继续的习惯并通过代码评审传给其他同事。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第1章 什么让软件工程团队有效 可信任的自主执行与长期维护 · 查看原书依据
If time allows, engineers who are maintaining existing code or projects should be willing to leave a project in better shape than they found it. This means making the code better, making sure that the documentation is up to date and accurate, cleaning up the environment so it’s easier for the next person to pick up, improving the team’s processes and culture over time, and growing as a professional developer by learning more about other languages/technologies/frameworks that are relevant.
参考来源
- 位置:《Leading Effective Engineering Teams: Lessons for Individual Contributors and Managers from 10 Years at Google》原书第1章《什么让软件工程团队有效》,可信任的自主执行与长期维护(来源项目 book-source,extracted/Leading Effective Engineering Teams Lessons for Individual Contributors and Managers from 10 Years at Google/_epub-src/OEBPS/ch01.html#can_leave_software_projects_in_a_better_shape_if,块 167)
- 结论依据:原文用变量命名说明当前便利与未来可读性之间的取舍,并列出有时间时改进代码、文档和环境的做法。
- 原始内容:If time allows, engineers who are maintaining existing code or projects should be willing to leave a project in better shape than they found it. This means making the code better, making sure that the documentation is up to date and accurate, cleaning up the environment so it’s easier for the next person to pick up, improving the team’s processes and culture over time, and growing as a professional developer by learning more about other languages/technologies/frameworks that are relevant.