When reading a programming language, the same regions of the brain are not activated as when reading a normal language.

By 04/01/2021 portal-3

Al leer lenguaje de programación no se activan las mismas regiones del cerebro que al leer un lenguaje corriente

Reading code activates a general-purpose brain network, but not language processing centers, which shows that the programming language is not assimilated as if it were an ordinary language that we use to communicate.

Thus, although computer code has the characteristics of a language, reading it activates a distributed network called multiple demand network, which is also used for complex cognitive tasks such as solving math problems or crossword puzzles.

Neither language nor mathematics

A programming language It is a formal language (or artificial, that is, a language with well-defined grammatical rules) that provides a person, in this case the programmer, the ability to write (or program) a series of instructions or sequences of commands in form. of algorithms in order to control the physical or logical behavior of a computer. But it activates different regions in our brain when we read.

Classes And Methods

An example of source code written in the Java programming language, which will print the message "Hello World!" to standard output when compiled and executed

However, although reading code activates the multiple demand network, it seems to depend more on different parts of the network than mathematical or logical problems, suggesting that coding also does not accurately replicate the cognitive demands of mathematics. That is, the code is not processed as language, nor as mathematics.

There are two schools of thought regarding how the brain learns to write code.. One maintains that to be good at programming, you must be good at math. The other suggests that, due to parallels between coding and language, linguistic skills might be more relevant. Therefore, to shed light on this issue, the researchers set out to study whether the patterns of brain activity when reading code would overlap with brain activity related to language.

The researchers say that while they did not identify any regions that appear to be dedicated exclusively to programming, such specialized brain activity could develop in people who have much more experience in coding. The findings suggest that there is no definitive answer to whether coding should be taught as a math-based skill or a language-based skill.

The two programming languages that the researchers focused on in this study are known for their readability: Python and ScratchJr, a visual programming language designed for children ages 5 and up.

Evelina Fedorenko, Frederick A. and Carole J. Middleton Career Development Associate Professor of Neuroscience and member of the McGovern Institute for Brain Research, is senior author of This studio, which has been published in eLife. Researchers from MIT's Computer Science and Artificial Intelligence Laboratory and Tufts University also participated in the study.


The news

When reading a programming language, the same regions of the brain are not activated as when reading a normal language.

was originally published in

Xataka Science

by
Sergio Parra

.