principle-redesign-from-first-principles

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

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. The result should look like what we would have built if we'd known on day one.
  • Read all affected files and understand the current design holistically
  • 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 redesign holistically, then deliver it incrementally
This is the method for preserving option value when integrating changes into an existing design.
在整合变更时,不要将其直接附加到现有设计之上。重新进行设计,就好像该需求从项目启动之初就存在一样。最终成果应看起来与我们从第一天起就知晓该需求时所构建的产物别无二致。
  • 阅读所有受影响的文件,全面理解当前设计的整体架构
  • 自问:“如果我们带着这个新需求从零开始搭建,我们会构建出怎样的方案?”
  • 将变更渗透到每一处相关引用:类型定义、文档、示例、原理说明章节
  • 从全局视角考量重新设计方案,再逐步推进交付
这是在现有设计中整合变更时保留选项价值的有效方法。