Brendan Koerner advocates teaching kids to program:
No one seems to have researched precisely how programming languages are learned, but there is every reason to believe that they’re best absorbed by students primed to form procedural memories.
“I would speculate that the same general-purpose memory systems that underlie language learning in children and adults likely underlie the learning of computer languages,” says Michael Ullman, director of the Brain and Language Lab at Georgetown University Medical Center. A key data point in favor of this view is the evidence regarding music: great violinists don’t start learning the instrument when they’re 20 years old but rather when they’re 3 or 4, a time when procedural memory is most sensitive.
And what is music if not a form of code—a series of abstract signals that must be sequenced properly in order to please the human ear?