CppCon 2018:H. Wright “Large-Scale Changes at Google: Lessons Learned From 5 Yrs of Mass Migrations”
CppConYouTube ↗
延伸阅读 1
字幕解读
Wright 把全仓迁移分成可以独立审阅的小步:引入新接口而保留旧默认,陆续迁移调用点,最后清理旧路径。中间每个版本都要能工作。
视频与逐字稿来源 ↗ · 引文按字幕原文展示,可点时间戳回看片段。
补充字幕原文 2
Usually you add the new thing without making it the default.Smaller diffs, easier to review, easier to understand.