知识卡片

普通读书笔记卡 · 1334.b.6.a.1

无价值包装增加负担

理解等级:高级

混淆模块只是改名转发底层资源参数,没有简化接口或加入可靠默认值,却增加学习、调试、版本和交付成本。减少重复语法不够证明抽象值得存在。面向非基础设施开发者时,真正的难题常是底层资源细节,可考虑栈或组合这样的高层能力。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 设计基础设施代码库 · 查看原书依据

      Writing, using, and maintaining module code rather than directly using the constructs provided by your stack tool adds overhead. This approach adds more code to maintain, cognitive overhead to learn, and extra moving parts in your build and delivery process. A component should add enough value to make the overhead worthwhile. Implementation If a module

    参考来源

    - 位置:《Infrastructure As Code》第10章《设计基础设施代码库》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch10.html) - 结论依据:原文说明混淆模块只是改名转发底层资源参数,没有简化接口或加入可靠默认值,却增加学习、调试、版本和交付成本;本卡据此解释其用途及适用边界。 - 原始内容:Writing, using, and maintaining module code rather than directly using the constructs provided by your stack tool adds overhead. This approach adds more code to maintain, cognitive overhead to learn, and extra moving parts in your build and delivery process. A component should add enough value to make the overhead worthwhile. Implementation If a module