Santiago 观点:孩子该学什么——用 AI 写代码,但要理解边界情况
svpino 举了个特别接地气的例子:孩子用 AI 写了个求平均值的函数,他就追问空列表、超大数字、怎么测试这三个问题。如果你也在纠结要不要让孩子用 AI 做作业,这篇会给你一个可操作的思路——不禁止用,但要能追问代码的边界情况。
svpino 在 X 上分享了一个观点:即便 AI 能写任何代码,孩子仍需学习软件开发的核心能力。他以一个计算平均值的函数为例,列出三个必须追问的问题:空列表怎么办、加入超大数字会发生什么、如何为这些情况写测试。
他的做法不是禁止孩子用 AI,而是要求孩子能看懂 AI 生成的代码、对答案提出质疑、并自己判断哪些方案合理。他观察到学校里学生已经普遍用 AI 完成作业,很多人实际上什么都不做,因此认为教育系统必须重新决定哪些环节还需要学生去"挣扎"。
文章还把这种思考延伸到更广的层面:孩子需要理解 AI 决策背后的机制、影响了谁、以及结果是否符合预期。核心立场是"用 AI 但不放弃理解",而不是简单的技术抵制。
If AI can write any code, what do I still want my kid to learn about software development?
I watched this short sci-fi film from @gakkuai, an AI learning coach for kids. The film is about a future where people delegate decisions and creative work to AI.
I don't think this is "the future" anymore. We're already seeing this happen in schools everywhere.
Students use AI to complete their assignments and do all their work. Many of them are literally doing nothing themselves anymore.
I want my kid to use AI, but I also force him to understand:
Let's say he writes a function that calculates an average. I know he used AI, so I'll ask him a few questions:
1. What will the function do with an empty list?
2. What happens if we add really large numbers to the list?
3. How would you test these cases?
I want him to spend some time figuring that out. He can ask AI to change the code, but I still want him to understand what the code does, question the answer he gets, and decide for himself what makes sense.
Our education system needs to catch up.
If AI can do more of the work we give kids, we have to decide which parts of that work we still want them to struggle with and why.
This goes beyond school.
I want my kid to grow up understanding what's behind AI decisions, who they affect, and whether that's what we want. https://t.co/FXGqRr9AEJ
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include AI education, learning to code, prompt engineering, kid education.
Source attribution: curated from Ate-a-Pi (@svpino).