Relating Natural Language Aptitude to Individual Differences in Learning Programming Languages

Sci Rep. 2020 Mar 2;10(1):3817. doi: 10.1038/s41598-020-60661-8.

Abstract

This experiment employed an individual differences approach to test the hypothesis that learning modern programming languages resembles second "natural" language learning in adulthood. Behavioral and neural (resting-state EEG) indices of language aptitude were used along with numeracy and fluid cognitive measures (e.g., fluid reasoning, working memory, inhibitory control) as predictors. Rate of learning, programming accuracy, and post-test declarative knowledge were used as outcome measures in 36 individuals who participated in ten 45-minute Python training sessions. The resulting models explained 50-72% of the variance in learning outcomes, with language aptitude measures explaining significant variance in each outcome even when the other factors competed for variance. Across outcome variables, fluid reasoning and working-memory capacity explained 34% of the variance, followed by language aptitude (17%), resting-state EEG power in beta and low-gamma bands (10%), and numeracy (2%). These results provide a novel framework for understanding programming aptitude, suggesting that the importance of numeracy may be overestimated in modern programming education environments.

Publication types

  • Research Support, U.S. Gov't, Non-P.H.S.

MeSH terms

  • Adolescent
  • Adult
  • Aptitude / physiology*
  • Electroencephalography
  • Female
  • Humans
  • Individuality*
  • Learning / physiology*
  • Male
  • Programming Languages*
  • Young Adult