我们应该比模型更累。
We should be more tired than the model

原始链接: https://newsletter.vickiboykis.com/archive/we-should-be-more-tired-than-the-model/

作者观察到,代理式代码生成往往绕过了短期记忆、工作记忆和长期记忆之间的相互作用,而这些认知过程对于真正掌握技能至关重要。依赖人工智能获取即时解决方案,类似于社交媒体令人上瘾的反馈循环,会导致“脑雾”而非真正的理解。 为了重新掌控并磨练技艺,作者主张在开发过程中重新“增加阻力”。通过刻意放慢速度,将认知投入置于速度之上。有效的策略包括: * 在寻求人工智能审查之前,先亲自编写初始代码。 * 将智能体作为教育工具,用于解释概念或比较架构方案。 * 执行“20分钟规则”,即在使用人工智能之前先独立尝试解决问题。 * 以传统学习方式补充数字工具,例如阅读学术论文和重新实现基础数据结构。 作者最终指出,编程的目标不应是寻求阻力最小的路径。为了精通开发,我们必须优先构建自己的思维基础,而非依赖模型的思维基础;简而言之,在这个过程中,人类在认知上应该比人工智能付出更多的精力。

Hacker News 最新 | 往日 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 我们应该比模型更疲惫 (vickiboykis.com) xrd 发布于 59 分钟前 | 7 分 | 隐藏 | 往日 | 收藏 | 2 条评论 | 帮助 fhdkweig 9 分钟前 | 下一条 [-] [重复] 此链接几分钟前已发布,且有更多评论。 https://news.ycombinator.com/item?id=48322118 回复 aselimov3 55 分钟前 | 上一条 [-] 这绝对是正确之道。我不认为长期来看,完全脱离代码编写的代理式工程是可持续的。我认为这必然会导致(技能)退化。 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Lately, I’ve been feeling like I’m losing control over the code I write when I work with agentic code generation.

When I finish an agentic session, I get all the outward signs of having written code, but none of the internal processes that happen when we write code by hand.

As a quick primer, the human brain has several types of memory, short-term, working, and long-term. Short-term memory gathers information temporarily and processes it quickly, like RAM. Long-term memory includes things you’ve learned previously and tucked away, like database storage. Working memory takes the information from short-term memory and long-term memory and combines them to synthesize, or process the information and come up with a solution.

When we’re working on code, (and by working on, we mean most often reading someone else’s code) all of these processes are going on in our brain simultaneously to try to help us make sense of the programming environment.

It’s not surprising. Code generation, in its default mode, is antithetical to skill retention, particularly because its UX affordances are reminiscent of a slot machine’s: you pull the lever, you get a reward (a solution to your coding problem.) In some ways, we’ve replaced the social media feed with a stream of tokens, and I look forward to reading those papers in ten years.

It really does take extra concerted effort to move from just generating answers to using the tool deliberately. One thing Oz suggested when I posted on X that I felt like I came away from an agentic session with a brain fog was rewriting portions of code myself.

Inspired by that advice, the paper, thoughts on slowing down, and using AI to write better code more slowly, and Mitchell’s adoption journey, I’ve been working on using the tool more deliberately and adding friction back into development.

Here’s what’s worked for me so far:

  • Writing the initial implementation myself and asking the agent to review the code, then going through comment by comment and manually making the changes

  • Using the agent to keep asking questions about pieces of the code I don’t understand instead and pull up relevant documentation and PRs.

  • Asking the agent to think about implementing two approaches and choosing between them and then critiquing the other approach

  • Discussing an agent’s proposed implementation with another person instead

  • Starting to use the agent only after I’ve spent 20 minutes on the problem

  • Going back and reading books and academic papers

  • Re-implementing fundamental data structures

All of these negate the supposed speed up effects of LLM-generated code in the short-term by adding friction, and yet, in the longer term, make me better at using the tool, because they solidify my own foundation instead of the foundation models'.

We should be more tired than the model.

联系我们 contact @ memedata.com