Treffer: Computer programmers show distinct, expertise-dependent brain responses to violations in form and meaning when reading code.

Title:
Computer programmers show distinct, expertise-dependent brain responses to violations in form and meaning when reading code.
Authors:
Kuo CH; Department of Psychology, University of Washington, Seattle, WA, USA. kuoc6@uw.edu., Prat CS; Department of Psychology, University of Washington, Seattle, WA, USA.; Institute for Learning and Brain Sciences, University of Washington, Seattle, WA, USA.
Source:
Scientific reports [Sci Rep] 2024 Mar 05; Vol. 14 (1), pp. 5404. Date of Electronic Publication: 2024 Mar 05.
Publication Type:
Journal Article
Language:
English
Journal Info:
Publisher: Nature Publishing Group Country of Publication: England NLM ID: 101563288 Publication Model: Electronic Cited Medium: Internet ISSN: 2045-2322 (Electronic) Linking ISSN: 20452322 NLM ISO Abbreviation: Sci Rep Subsets: MEDLINE
Imprint Name(s):
Original Publication: London : Nature Publishing Group, copyright 2011-
References:
Brain Cogn. 2019 Oct;135:103569. (PMID: 31202158)
Elife. 2020 Dec 15;9:. (PMID: 33319745)
Cogn Sci. 2016 Apr;40(3):723-57. (PMID: 25864403)
Sci Rep. 2020 Mar 2;10(1):3817. (PMID: 32123206)
Nat Neurosci. 2004 Jul;7(7):703-4. (PMID: 15195094)
Annu Rev Psychol. 2011;62:621-47. (PMID: 20809790)
Sci Rep. 2020 Jul 8;10(1):11222. (PMID: 32641708)
Trends Cogn Sci. 2019 Jul;23(7):525-528. (PMID: 31153775)
Trends Cogn Sci. 2005 Sep;9(9):416-23. (PMID: 16054419)
Elife. 2020 Dec 15;9:. (PMID: 33319744)
Nat Rev Neurosci. 2008 Dec;9(12):920-33. (PMID: 19020511)
Cogn Sci. 2017 May;41 Suppl 6:1318-1352. (PMID: 28000963)
Psychophysiology. 1987 Jan;24(1):14-25. (PMID: 3575590)
Electroencephalogr Clin Neurophysiol Suppl. 1999;52:3-6. (PMID: 10590970)
Grant Information:
N00014-20-1-2393 Office of Naval Research
Entry Date(s):
Date Created: 20240305 Date Completed: 20240307 Latest Revision: 20240426
Update Code:
20250114
PubMed Central ID:
PMC10914777
DOI:
10.1038/s41598-024-56090-6
PMID:
38443678
Database:
MEDLINE

Weitere Informationen

As computer programming becomes more central to the workforce, the need for better models of how it is effectively learned has become more apparent. The current study addressed this gap by recording electrophysiological brain responses as 62 Python programmers with varying skill levels read lines of code with manipulations of form (syntax) and meaning (semantics). At the group level, results showed that manipulations of form resulted in P600 effects, with syntactically invalid code generating more positive deflections in the 500-800 ms range than syntactically valid code. Meaning manipulations resulted in N400 effects, with semantically implausible code generating more negative deflections in the 300-500 ms range than semantically plausible code. Greater Python expertise within the group was associated with greater sensitivity to violations in form. These results support the notion that skilled programming, like skilled natural language learning, is associated with the incorporation of rule-based knowledge into online comprehension processes. Conversely, programmers at all skill levels showed neural sensitivity to meaning manipulations, suggesting that reliance on pre-existing semantic relationships facilitates code comprehension across skill levels.
(© 2024. The Author(s).)