Claude 写的生产代码质量标准应高于人类
朋友,Boris Cherny 说 Claude 写的生产代码质量标准要高于人类,还讲了怎么用 Claude 写好生产代码,挺实用的。
Anthropic 的 Boris Cherny 表示,Claude 写的生产代码质量标准应高于人类。在 Anthropic 内部,Claude 写的生产代码有大量 lint 规则、测试、安全审查等保障,否则可能难以维护。
使用最新模型或增加提示词努力程度可提升代码质量。
"Production code written by Claude should have a higher bar than if it was written by a human" 💯 Boris Cherny @bcherny Hey ████, I think there is room for both. 1. Prototypes and other throw-away code can be treated as totally black box. If you’re going to throw it away anyway, and if the blast radius of it breaking is low, it doesn’t need to be perfect. 2. Production code written by Claude should have a higher bar than if it was written by a human. At Anthropic, we have many guardrails in place to make sure this is happening: lots of lint rules, lots of tests, Claude-driven end to end tests, Claude-powered fuzzers running daily, automated code reviews and security reviews, automated code refactoring, and so on. Without these, you can end up with a mess that is hard to maintain down the line. Luckily, the model makes it increasingly easy to do these well — run a few daily routines, use Claude Code Review, etc. Your job is to hold the bar on code quality. If Claude’s code doesn’t meet the bar, try: - Using the latest frontier model (Opus 5 or Fable 5.1) - Increase effort to high or xhigh - Invest in your CLAUDE.md and skills to succinctly teach Claude how to work in your codebase If all else fails, steer Claude more when you work with it, or have Claude fix accumulated debt and rewrite your codebase to make it easier to work with. Or, wait for the next model. Best, Boris 🔗 View Quoted Tweet📊 45 ⚡
本条情报归属 AITOP「技巧」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Claude、提示词工程、编程助手,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「Simon Willison」(@simonw),经 AITOP 多维评分管线结构化提炼。截至目前,全网已有 11 家独立信源对该事件进行交叉印证与跟进报道(含 Tech in Asia、IT之家、Anthropic 等),属于近期高关注度行业信号。