告诉HN:“写更少的代码”现在有两种不同的含义。
今早我在Slack的私信中收到了几张Twitter的截图,感到有些困惑。其中一张是Boris Cherny说几乎100%的Claude Code的代码都是由Claude Code自己编写的,而且他个人已经好几个月没有手动做过任何小的修改。另一张是OpenAI的一名技术人员表示编程“总是很糟糕”,当被问到有多少百分比的代码是由OpenAI的模型完成时,他回答:“100%,我不再写代码了。”
我对这种“好走好散”的态度感到沮丧。这里的其他人有同样的感觉吗?
我的目标也是尽量少写代码。并不是因为我想把工作推给AI,而是因为我希望尽可能少存在代码。代码意味着责任,错误往往存在于代码中,因此我总是努力保持代码的最低限度。
我在脑海中保持着一个代码库的心理模型。在我脑中,它被抽象成一种“心灵宫殿”,我可以在其中自由移动,而不受语言或语法的限制。最近,我开始将代码分为两类:我不需要在脑中建模的代码(低责任,因为它遵循既定的惯例),以及我无法抗拒在脑中建模的代码(创新、新模式,高责任)。第一类代码很容易委托给AI代理。第二类代码则太有趣和令人满意,我无法不去接触。我会和代理进行互动,但我仍然希望我的心灵宫殿与代码保持同步。
我们真的要放弃与代码的关系吗?
查看原文
I was the bemused recipient of a couple of Twitter screenshots in a Slack DM this morning. One was Boris Cherny saying pretty much 100% of Claude Code's code is written by Claude Code, and that he personally hadn’t made even small edits by hand for months. The other was a Member of Technical Staff at OpenAI saying programming "always sucked" and when asked what percentage of coding is done from OpenAI models, replied: "100%, I don’t write code anymore."<p>I'm disheartened by this "good riddance" attitude. Do others here feel the same?<p>My goal is also to write as little code as possible. Not because I want to push the work onto AI, but because I want as little code to exist as possible. Code equals liability, and bugs live in code, so I always strive for the bare minimum of it.<p>I keep a mental model of a codebase. In my head it’s abstracted into a kind of "mind palace" where I can move around without language or syntax. Lately I’ve started separating code into two categories: code I don’t need to model in my head (low liability, because it follows established conventions), and code I can’t resist modeling in my head (innovative, new patterns, high liability). The first is easy to delegate to an AI agent. The second is too enjoyable and satisfying to stay away from. I’ll spar with an agent, but I still want to keep my mind palace in sync with the code.<p>Are we really going to give up our relationship with code?