← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 4378.d

架构决策要记录为何而非仅如何

理解等级:中级

架构图能展示系统如何组成,却通常不能说明当初为何舍弃其他方案。原书第二法则强调记录决策理由;架构决策记录(ADR)应连同目标、权衡依据、已知妥协和限制保存。将来条件变化时,团队才能判断原理由是否仍成立,而不用从图中猜测。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Fundamentals of Software Architecture》原书第27章《The Laws of Software Architecture, Revisited》(阅读计划第31项,单元07;源文件:`OEBPS/ch27.html`) - 结论依据:原书强调为什么比怎么做重要,并建议图示与ADR结合记录分析、妥协和限制;末句为该记录的用途推断。 - 原始内容:It’s critical to document that analysis (along with the known compromises and limitations of the solution) to prevent future architects (who might be you) from having to redo the analysis just to understand why .