Boris Cherny:Claude 编写的生产代码应接受更高标准
英文标题:Quoting Boris Cherny
Anthropic 表示,由 Claude 编写并进入生产环境的代码,应比人工编写的代码接受更高的质量门槛。为此,公司部署了大量保护措施,包括 lint 规则、测试、Claude 驱动的端到端测试、每日运行的 Claude 模糊测试、自动化代码与安全审查,以及自动化代码重构。该观点强调,AI 辅助开发不能只关注生成速度,还必须通过系统化工程流程保障代码质量、可维护性和安全性。
打开原文相关 3.6 · 机会 0
中文
Claude 编写的生产代码应当比人类编写的代码接受更高的标准。在 Anthropic,我们设置了许多护栏,以确保这一点能够实现:大量 lint 规则、大量测试、由 Claude 驱动的端到端测试、每日运行的 Claude 驱动模糊测试、自动化代码审查和安全审查、自动化代码重构等等。缺少这些措施,最终可能会形成一团难以在后续维护的代码混乱局面。
English / 原文
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.