principle-redesign-from-first-principles
从第一性原理重设计
When integrating a change, don’t bolt it onto the existing design. Redesign as if the requirement had been there from the start.
接入改动时,别钉在现有设计上。当作这需求从一开始就在,重新设计。
-
Read all affected files and understand the current design
-
Ask: “if we were writing this from scratch with this new requirement, what would we build?”
-
Propagate the change through every reference: types, docs, examples, rationale sections
-
Think about the whole redesign, then deliver it incrementally
-
读完所有受影响文件,理解当前设计
-
问:「带着这新需求从零写,我们会建什么?」
-
把改动传播到每个引用:类型、文档、示例、rationale 小节
-
想整体重设计,再增量交付
This is the method for preserving option value when integrating changes into an existing design.
这是把改动接入已有设计时保护期权价值的方法。