知识卡片
配方讨论保留方案取舍
一个设计问题常有多种解法。配方中的Discussion用于说明优势、代价和不适用之处,它决定某个建议能否放进当前系统;只复制Solution会丢掉这些判断条件。阅读时把问题、方案与讨论合起来,才能区分可迁移的思路和依赖具体环境的实现。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 前言:配方的使用方法 · 查看原书依据
Recipes will also contain a more lengthy discussion section where trade-offs, downsides, and advantages are covered. Often this is the most important section of the recipe, since very few of these challenges have just one possible solution.
参考来源
- 位置:《RESTful Web API Patterns and Practices Cookbook》Preface(来源项目book-sources,源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/preface01.xhtml)
- 结论依据:原文直接给出相应职责、操作或比较;本卡保留其用途与适用边界,不将历史接口表述当作当前工具验证。
- 原始内容:Recipes will also contain a more lengthy discussion section where trade-offs, downsides, and advantages are covered. Often this is the most important section of the recipe, since very few of these challenges have just one possible solution.