(Press-News.org) 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 work, newly published in the Journal of Neuroscience, provide insight into how and why the human brain programs.
“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.”
AI tools are making coding increasingly accessible. 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.
The team used functional magnetic resonance imaging (fMRI) to track the brain activity of undergraduate students before and after they took a semester-long introductory course in Python, a programming language.
When students read code after the course, groups of neurons in a part of the brain responsible for logic, the fronto-parietal regions, represented the meaning of the programs. But even before class, when students read plain English descriptions of the coding programs, the same neurons already activated for the program algorithms.
“Learning to code uses the same neural machinery that we use for logical problem-solving. Everyone has these abilities,” said Liu, who investigates how the brain learns educationally relevant cultural skills.
The findings suggest that all humans are equipped with the foundation needed to learn programming—which is mostly logic. And exercising those logic muscles through puzzles, games and everyday dinner-table debates might prime kids for future programming success.
“Someone not familiar with coding might look at Python and feel like they’d never be able to understand it, but our study suggests all of us have the capacity to code,” Bedney said. “We might even be born with it.”
END
Researchers watched students’ brains as they learned to program
Study reveals how the human brain learns to code
2025-10-27
ELSE PRESS RELEASES FROM THIS DATE:
An AI-powered lifestyle intervention vs human coaching in the diabetes prevention program
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, ...
AI-powered diabetes prevention program shows similar benefits to those led by people
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 ...
New study may transform diagnosis of Britain’s number one cancer
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. ...
Stillbirths in the United States
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 ...
How animals get their spots, and why they are beautifully imperfect
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 ...
Stillbirths in the U.S. higher than previously reported, often occur with no clinical risk factors
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 ...
Durability of 2024-2025 COVID-19 vaccines against JN.1 subvariants
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 ...
Online unsupervised Tai Chi intervention for knee pain and function in people with knee osteoarthritis
2025-10-27
About The Study: This randomized clinical trial found that this unsupervised multimodal online tai chi intervention improved knee pain and function compared with the control at 12 weeks. This free-to-access web-based intervention offers an effective, safe, accessible, and scalable option for guideline-recommended osteoarthritis exercise.
Corresponding Author: To contact the corresponding author, Kim L. Bennell, PhD, email k.bennell@unimelb.edu.au.
To access the embargoed study: Visit our For The Media website at this link https://media.jamanetwork.com/
(doi:10.1001/jamainternmed.2025.5723)
Editor’s ...
A nose for microbes: how hunger tunes the brain
2025-10-27
New research from the Champalimaud Foundation (CF) reveals how missing just one essential amino acid can change gene expression and the brain’s sensory systems, prompting animals to seek out protein-rich yeast and gut bacteria that help them restore nutritional balance and survive in times of need.
Fermented clues
Cheese and chocolate might not tempt a fruit fly’s palate, but to a hungry fly short on nutrients, their smell carries a hidden signal. When deprived of certain amino acids – the building blocks of protein – these tiny insects develop a surprisingly refined ...
TRF1 protein loss reduces body fat and improves metabolic health in mice without shortening telomeres
2025-10-27
“These findings uncover a previously unknown role of TRF1 in regulating metabolism.”
BUFFALO, NY — October 27, 2025 — A new research paper was published in Volume 17, Issue 9 of Aging-US on September 17, 2025, titled “Depletion of the TRF1 telomere-binding protein leads to leaner mice with altered metabolic profiles.”
In this study led by first author Jessica Louzame Ruano and corresponding author Maria A. Blasco from the Spanish National Cancer Centre (CNIO), researchers ...
LAST 30 PRESS RELEASES:
Beyond electronics: harnessing light for faster computing
Researchers find possible cause for increasing polarization
From soft to solid: How a coral stiffens its skeleton on demand
New software tool MARTi fast-tracks identification and response to microbial threats
Rare brain cell may hold the key to preventing schizophrenia symptoms
A new tool to find hidden ‘zombie cells’
New Cleveland Clinic research finds up to 5% of Americans carry genetic mutations associated with cancer risk
Once tadpoles lose lungs, they never get them back
Small group of users drive invasive species awareness on social media
One bad safety review can tank an Airbnb booking — Even among thousands of positive ones, new study finds
Text-based system speeds up hospital discharges to long-term care
California schools are losing tree canopy
How people learn computer programming
Exploring a mechanism of psychedelics
Scientists can now explore mechanisms behind attachment issues
Researchers watched students’ brains as they learned to program
An AI-powered lifestyle intervention vs human coaching in the diabetes prevention program
AI-powered diabetes prevention program shows similar benefits to those led by people
New study may transform diagnosis of Britain’s number one cancer
Stillbirths in the United States
How animals get their spots, and why they are beautifully imperfect
Stillbirths in the U.S. higher than previously reported, often occur with no clinical risk factors
Durability of 2024-2025 COVID-19 vaccines against JN.1 subvariants
Online unsupervised Tai Chi intervention for knee pain and function in people with knee osteoarthritis
A nose for microbes: how hunger tunes the brain
TRF1 protein loss reduces body fat and improves metabolic health in mice without shortening telomeres
JMIR Medical Education invites submissions on bias, diversity, inclusion, and cultural competence in medical education
SwRI receives $9.9 million contract to assess reliability of F-16 landing gear components
Computer scientists build AI tool to spot risky and unenforceable contract terms
Self-affirmations can boost well-being, study finds
[Press-News.org] Researchers watched students’ brains as they learned to programStudy reveals how the human brain learns to code