How people learn computer programming
To acquire computer programming skills, the brain repurposes cognitive areas typically involved in logical reasoning.
2025-10-27
(Press-News.org) The ever-growing use of technology in society makes it clear that computer programming may be a valuable skill. But how do our brains learn to code? Cultural skills, like reading and math, typically emerge by repurposing brain networks that function for more innate purposes. Yun-Fei Liu and Marina Bedny, from Johns Hopkins University, tested whether this may be the case when people learn computer programming in their JNeurosci paper.
The researchers recorded brain activity in study volunteers with no programming experience before and after they learned how to code using Python. A neural network in the left side of the brain that is involved in logical reasoning was active while participants read about programming algorithms before any formal instruction or skill acquisition. Liu elaborates, “We showed the participants programming algorithms described in plain English prior to learning Python. You would think that the language network of the brain is important for understanding this information when it is presented this way. But the brain network primarily activated was the logical reasoning one.” After learning Python, this network continued to engage strongly with programming code.
According to the authors, this work suggests that human brains repurpose cognitive areas involved in reasoning to learn and acquire computer programming skills. Does this mean that people who are better at logical reasoning are more adept at learning computer programming? Says Liu, “We haven’t looked at a correlation between learning outcomes and neural responses. Currently, we are examining whether logical reasoning test scores can predict how well people perform in a computer program writing task.”
###
Please contact media@sfn.org for full-text PDF.
About JNeurosci
JNeurosci was launched in 1981 as a means to communicate the findings of the highest quality neuroscience research to the growing field. Today, the journal remains committed to publishing cutting-edge neuroscience that will have an immediate and lasting scientific impact, while responding to authors' changing publishing needs, representing breadth of the field and diversity in authorship.
About The Society for Neuroscience
The Society for Neuroscience is the world's largest organization of scientists and physicians devoted to understanding the brain and nervous system. The nonprofit organization, founded in 1969, now has nearly 35,000 members in more than 95 countries.
END
ELSE PRESS RELEASES FROM THIS DATE:
2025-10-27
Using psychedelics to treat psychiatric diseases has become less controversial as scientists continue to reveal their underlying mechanisms. In a new eNeuro paper, researchers led by Pavel Ortinski, from the University of Kentucky, used male rats to assess how psychedelic drugs target the claustrum, a brain region with many receptors that psychedelics interact with.
The researchers found that activating claustrum neurons targeting a cognitive area implicated in psychiatric diseases (the anterior cingulate cortex) under psychedelic drug exposure strengthened projections onto these claustrum ...
2025-10-27
Children can sometimes develop health, behavioral, and attachment issues that persist when their needs are not met by their caregiver. New from eNeuro, Arie Kaffman and colleagues at Yale University School of Medicine explored whether mouse pups also experience these issues from early life adversity. Their discoveries provide an opportunity for researchers to explore the mechanisms of health and behavioral deficits from early life adversity.
When the researchers limited bedding for making nests, this impaired maternal care and increased stress hormone signaling ...
2025-10-27
Computer programming powers modern society and enabled the AI 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.
After the students took a programming course, parts of their brain activated as they read code. Inside these areas, groups of neurons represented the meaning of 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.
The federally-funded ...
2025-10-27
About The Study: Among adults with prediabetes and overweight or obesity, referral to a fully automated AI-led Diabetes Prevention Program (DPP) was noninferior to referral to a human-led DPP in achieving a composite outcome based on weight reduction, physical activity, and HbA1c.
Corresponding Author: To contact the corresponding author, Nestoras Mathioudakis, MD, MHS, email nmathio1@jh.edu.
To access the embargoed study: Visit our For The Media website at this link https://media.jamanetwork.com/
(doi:10.1001/jama.2025.19563)
Editor’s Note: Please see the article for additional information, ...
2025-10-27
Researchers from Johns Hopkins Medicine and the Johns Hopkins Bloomberg School of Public Health report that an AI-powered lifestyle intervention app for prediabetes reduced the risk of diabetes similarly to traditional, human-led programs in adults.
Funded by the National Institutes of Health and published in JAMA Oct. 27, the study is believed to be the first phase III randomized controlled clinical trial to demonstrate that an AI-powered diabetes prevention program (DPP) app helps patients meet diabetes risk-reduction benchmarks established by the Centers for Disease Control and Prevention (CDC) at rates comparable to those in human-led programs.
An estimated 97.6 ...
2025-10-27
A major new study, which has recently begun recruiting, is hoped to lead to earlier detection of lung cancers.
People living in Leeds, Bath, Hull and Stoke-on-Trent will be among those approached to take part. The study is funded by National Institute for Health and Care Research (NIHR).
At the moment, chest X-ray is the test GPs are advised to use in almost for almost all symptoms to rule out or confirm a cancer. Symptoms can include a cough that persists for several weeks.
Worryingly, however, chest X-rays are not always conclusive. ...
2025-10-27
About The Study: This study characterizes stillbirth rates between 2016 and 2022 across clinical risk factors and geographic-based measures of access, income, and race in a large U.S. commercially insured population.
Corresponding Author: To contact the corresponding author, Jessica L. Cohen, PhD, email cohenj@hsph.harvard.edu.
To access the embargoed study: Visit our For The Media website at this link https://media.jamanetwork.com/
(doi:10.1001/jama.2025.17392)
Editor’s Note: Please see the article for additional information, including other authors, author contributions and affiliations, conflict of interest ...
2025-10-27
From tiger stripes to leopard spots, the animal world is full of distinctive and intricate patterns.
In a new study, CU Boulder scientists refined their previous theory of how animal patterns form and successfully recreated imperfections in natural designs, like irregular spots on a leopard. The new mechanism, described October 27 in Matter, could lead to materials that can respond to their environment, such as fabrics that change color on demand for camouflage.
“Imperfections are everywhere in nature,” said Ankur Gupta, the study’s lead researcher in the ...
2025-10-27
Embargoed for release: Monday, October 27, 2025, 11:00 AM ET
Key points:
Stillbirth burden in the U.S. is higher than previously reported, with over 1 in 150 births ending in stillbirth. The rate is even higher—1 in 112—in low-income areas.
Over 70% of stillbirths occurred in pregnancies with at least one identified clinical risk factor (e.g. chronic hypertension), but a substantial share—especially those occurring at 40+ weeks gestation—had none.
According to the researchers, the findings point to a need to improve ...
2025-10-27
About The Study: The updated 2024-2025 COVID-19 vaccines provided effective protection, particularly against severe disease, although their effectiveness waned over time. Effectiveness against different subvariants was similar.
Corresponding Author: To contact the corresponding author, Dan-Yu Lin, PhD, email lin@bios.unc.edu.
To access the embargoed study: Visit our For The Media website at this link https://media.jamanetwork.com/
(doi:10.1001/jamainternmed.2025.5465)
Editor’s Note: Please ...
LAST 30 PRESS RELEASES:
[Press-News.org] How people learn computer programming
To acquire computer programming skills, the brain repurposes cognitive areas typically involved in logical reasoning.