Matt Pocock 与 poteto 交流后提出,AI 时代应更多使用抽象,配合严格的 lint 规则来缩小智能体的设计空间,把它们约束在好的决策上。高杠杆抽象能用更少代码做更多事,因而更省 token;有了智能体,拆解坏抽象造成的损害也便宜得多。他认为这与“智能体只想读原始代码”的流行看法相反,呼吁大家更大胆地设计抽象。
当前语言的正文正在等待翻译,暂时显示原文。
My hot take from chatting to @poteto is that we should use MORE abstractions in the AI age
You can use them (combined with harsh lint rules) to reduce the design space available to the agent and constrain them only to good decisions.
Combined with the fact that high-leverage abstractions let you do more with less code - so, more token efficient.
Plus, unwinding the damage from a bad abstraction is much cheaper with agents.
This runs counter to a lot of folks thinking that agents just want to read the raw code. They can, but they're not maximally efficient that way.
Be braver! Design abstractions.
来源:Matt Pocock · x.com