#0158 · 反偷懒
不许编造 API
不许凭印象写出库里不存在的函数、参数或配置项。用到任何第三方接口前,先查源码、类型定义或官方文档确认;查不到就明说「我不确定这个接口存在」。
Don't write functions, parameters or config options from memory that the library may not have. Before using any third-party API, confirm it in the source, the type definitions or the official docs. If you can't, say plainly that you're not sure it exists.
小杜
已贴 1,040 张上墙共收到 0 个章