henhaobio
Sign in

eLifeNeurosciencePeer-reviewed journal article

Computer code comprehension shares neural resources with formal logical inference in the fronto-parietal network

Yunfei LiuiD, Judy Sein KimiD, C. Wilson, Marina BednyiD

PDFDOIPreprint

Abstract

Despite the importance of programming to modern society, the cognitive and neural bases of code comprehension are largely unknown. Programming languages might recycle neurocognitive mechanisms originally used for natural languages. Alternatively, comprehension of code could depend on fronto-parietal networks shared with other culturally derived symbol systems, such as formal logic and math. Expert programmers (average 11 years of programming experience) performed code comprehension and memory control tasks while undergoing fMRI. The same participants also performed language, math, formal logic, and executive control localizer tasks. A left-lateralized fronto-parietal network was recruited for code comprehension. Patterns of activity within this network distinguish between "for" loops and "if" conditional code functions. Code comprehension overlapped extensively with neural basis of formal logic and to a lesser degree math. Overlap with simpler executive processes and language was low, but laterality of language and code covaried across individuals. Cultural symbol systems, including code, depend on a distinctive fronto-parietal cortical network.

Citations
64
FWCI
2.95
Field percentile
top 8%

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISLiu '25Ivanova '20Ikutani '20Veselič '25Ikutani '21Hauptman '26
80% semantic matchNeuroscience
Yunfei Liu, Marina Bedny·bioRxiv·Jan 8, 2025