(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:
From novel therapies to first-in-human trials, City of Hope advances blood cancer care at the American Society of Hematology (ASH) annual conference
Research aims to strengthen the security of in-person voting machines
New study exposes hidden Alzheimer’s 'hot spots' in rural Maryland and what they reveal about America’s growing healthcare divide
ASH 2025: Study connects Agent Orange exposure to earlier and more severe cases of myelodysplastic syndrome
ASH 2025: New data highlights promise of pivekimab sunirine in two aggressive blood cancers
IADR elects George Belibasakis as vice-president
Expanding the search for quantum-ready 2D materials
White paper on leadership opportunities for AI to increase employee value released by University of Phoenix College of Doctoral Studies
ASH 2025: New combination approach aims to make CAR T more durable in lymphoma
‘Ready-made’ T-cell gene therapy tackles ‘incurable’ T-cell leukemia
How brain activity changes throughout the day
Australian scientists reveal new genetic risk for severe macular degeneration
GLP-1 receptor agonists likely have little or no effect on obesity-related cancer risk
Precision immunotherapy to improve sepsis outcomes
Insilico Medicine unveils winter edition of Pharma.AI, accelerating the path to pharmaceutical superintelligence
Study finds most people trust doctors more than AI but see its potential for cancer diagnosis
School reopening during COVID-19 pandemic associated with improvement in children’s mental health
Research alert: Old molecules show promise for fighting resistant strains of COVID-19 virus
Journal of Nuclear Medicine Technology supplement highlights advances in theranostics and opportunities for growth
New paper rocks earthquake science with a clever computational trick
ASH 2025: Milder chemo works for rare, aggressive lymphoma
Olfaction written in bones: New insights into the evolution of the sense of smell in mammals
Engineering simulations rewrite the timeline of the evolution of hearing in mammals
New research links health impacts related to 'forever chemicals' to billions in economic losses
Unified EEG imaging improves mapping for epilepsy surgery
$80 million in donations propels UCI MIND toward world-class center focused on dementia
Illinois research uncovers harvest and nutrient strategies to boost bioenergy profits
How did Bronze Age plague spread? A sheep might solve the mystery
Mental health professionals urged to do their own evaluations of AI-based tools
Insufficient sleep associated with decreased life expectancy
[Press-News.org] Researchers watched students’ brains as they learned to programStudy reveals how the human brain learns to code