知识卡片

普通读书笔记卡 · 1458.f.5.a.2.a.1

配置可解释且生效可见

理解等级:中级

保留的配置项应写清含义、示例值和允许范围,用用户理解的单位提问,如缓存内存限制而非最大条目数。未知项或应用失败须显式报错,避免用户以为已经生效;最终有效配置应可查询或在启动时显示,便于排查覆盖关系和实际运行行为。

相关:[[配置只问用户更懂的事]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 理解用户体验 · 查看原书依据

      Finally, we should throw an error if we see an unknown configuration or the configurations failed to apply. Silent configuration errors are a source of many lost hours when debugging.

    参考来源

    - 位置:《Software Architecture and Decision-Making》第4章《理解用户体验》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch04.xhtml) - 结论依据:原文的定义、比较或例子支持“保留的配置项应写清含义、示例值和允许范围,用用户理解的单位提问,如缓存内存限制而非最大条目数”;正文据此说明用途和边界。 - 原始内容:Finally, we should throw an error if we see an unknown configuration or the configurations failed to apply. Silent configuration errors are a source of many lost hours when debugging.