返回主题:模式语言与选型

知识卡片

普通读书笔记卡 · 3341.b

模式用于讨论取舍

理解等级:中级

设计模式为常见问题提供有名称的典型解决办法,并说明适用条件和后果;它不同于暗示唯一答案的“最佳实践”。反模式则记录常见但有害的做法,帮助识别陷阱。使用模式应比较当前规模、工作负载和协调成本,不应把名称当作无需分析的选型结论。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 设计可部署的基础设施栈 · 查看原书依据

      A design pattern is a typical solution to a common design problem. Naming and describing patterns gives us a common language to discuss various approaches and their trade-offs. For example, rather than simply talking about whether our stacks are too large or too small, we can talk about whether we should use the Single Service

    参考来源

    - 位置:《Infrastructure As Code》第7章《设计可部署的基础设施栈》(来源项目 book-sources,源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch07.html) - 结论依据:原文对该概念的定义、应用条件与作用机制直接支持上述解释。 - 原始内容:A design pattern is a typical solution to a common design problem. Naming and describing patterns gives us a common language to discuss various approaches and their trade-offs. For example, rather than simply talking about whether our stacks are too large or too small, we can talk about whether we should use the Single Service