研究人员观察学生学习编程时的大脑

霍普金斯大学研究人员的研究结果表明,所有人都具备学习编程所需的基础

来源:约翰霍普金斯大学

作者:吉尔·罗森

作者: Jill Rosen / 已发布 2025 年 10 月 27 日

Computer programming powers modern society and enabled the artificial intelligence revolution, but little is known about how our brains learn this essential skill. To help answer that question, Johns Hopkins University researchers studied the brain activity of university students before and after they learned how to code.

学生们参加了编程课程后,他们的部分大脑在阅读代码时被激活。在这些区域内,神经元组代表了代码的含义。 Surprisingly, before the students took the class or knew anything about programming, the same groups of neurons also fired when the students read the programs described in plain English.

“我们发现,当你上大学时,你的大脑已经具备了编程的神经基础。”

玛丽娜·贝德尼

心理和脑科学副教授

这项由联邦资助的研究新发表在《神经科学杂志》上,深入了解了人类大脑如何以及为何进行编程。

新发表在《神经科学杂志》上 神经科学杂志

"Many of the things we do in the modern world, our brains didn't evolve to do, including programming, driving, reading, and math," said senior author Marina Bedny, a cognitive neuroscientist who studies brain plasticity and development. "A programming class 'recycles' your logic brain areas for code. What we found is that by the time you get to college your brain already has the neural foundations for programming."

人工智能工具使编码变得越来越容易。 With more people gaining access to programming, Bedny and first author Yun-Fei Liu, a postdoctoral fellow, set out to discover how the human brain adapts as novices begin to learn the skill.

该团队使用功能磁共振成像 (fMRI) 来跟踪本科生在学习 Python(一种编程语言)一学期的入门课程前后的大脑活动。

图片说明: