知识卡片

普通读书笔记卡 · 1841.i.1

模式胜过无条件最佳实践

理解等级:高级

架构选择总有权衡,模式提供的是某个上下文中问题、力量和方案的联系。把它简化为“最佳实践”会让人忽略新系统的约束差异。重复使用经验时,应重新核对适用条件和不可接受代价,而非停止思考。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Evolutionary Architecture Pitfalls and Antipatterns · 查看原书依据

      We discuss patterns but not best practices, which are virtually nonexistent in software architecture. Best practice implies that an architect can turn their brain off whenever they encounter a particular situation—​after all, this is the best way to handle this practice. However, everything in software architecture is a trade-off, meaning that architects must evaluate trade-offs anew for virtually every decision. Patterns and antipatterns can help

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第08章《Evolutionary Architecture Pitfalls and Antipatterns》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch08.html;段落定位:Patterns and antipatterns can help identify contextualized advice) - 结论依据:原文对“模式胜过无条件最佳实践”的定义或案例,支撑“架构选择总有权衡,模式提供的是某个上下文中问题、力量和方案的联系”的归纳。据其上下文,把它简化为“最佳实践”会让人忽略新系统的约束差异。 - 原始内容:We discuss patterns but not best practices, which are virtually nonexistent in software architecture. Best practice implies that an architect can turn their brain off whenever they encounter a particular situation—​after all, this is the best way to handle this practice. However, everything in software architecture is a trade-off, meaning that architects must evaluate trade-offs anew for virtually every decision. Patterns and antipatterns can help