{"id":19455,"date":"2020-12-16T11:28:49","date_gmt":"2020-12-16T05:43:49","guid":{"rendered":"https:\/\/www.revoscience.com\/en\/?p=19455"},"modified":"2020-12-16T19:42:19","modified_gmt":"2020-12-16T13:57:19","slug":"to-the-brain-reading-computer-code-is-not-the-same-as-reading-language","status":"publish","type":"post","link":"https:\/\/www.revoscience.com\/en\/to-the-brain-reading-computer-code-is-not-the-same-as-reading-language\/","title":{"rendered":"To the Brain, Reading computer code is not the same as reading language"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong><em>Neuroscientists find that interpreting code activates a general-purpose brain network, but not language-processing centers<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">CAMBRIDGE, MA (MITnews office)&#8211; In some ways, learning to program a computer is similar to learning a new language. It requires learning new symbols and terms, which must be organized correctly to instruct the computer what to do. The computer code must also be clear enough that other programmers can read and understand it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In spite of those similarities, MIT neuroscientists have found that reading computer code does not activate the regions of the brain that are involved in language processing. Instead, it activates a distributed network called the multiple demand network, which is also recruited for complex cognitive tasks such as solving math problems or crossword puzzles.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-675x451.jpg\" alt=\"\" class=\"wp-image-19456\" width=\"662\" height=\"442\" title=\"\" srcset=\"https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-675x451.jpg 675w, https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-599x400.jpg 599w, https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-768x513.jpg 768w, https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-174x116.jpg 174w, https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg 899w\" sizes=\"auto, (max-width: 662px) 100vw, 662px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">However, although reading computer code activates the multiple demand network, it appears to rely more on different parts of the network than math or logic problems do, suggesting that coding does not precisely replicate the cognitive demands of mathematics either.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cUnderstanding computer code seems to be its own thing. It\u2019s not the same as language, and it\u2019s not the same as math and logic,\u201d says Anna Ivanova, an MIT graduate student and the lead author of the study.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Evelina Fedorenko, the Frederick A. and Carole J. Middleton Career Development Associate Professor of Neuroscience and a member of the McGovern Institute for Brain Research, is the senior author of the paper, which appears today in&nbsp;<a href=\"http:\/\/mit.pr-optout.com\/Tracking.aspx?Data=HHL%3d83%3c688-%3eLCE9%3b4%3b8%3f%26SDG%3c90%3a.&amp;RE=MC&amp;RI=4334046&amp;Preview=False&amp;DistributionActionID=92518&amp;Action=Follow+Link\" target=\"_blank\" rel=\"noreferrer noopener\"><em>eLife<\/em><\/a>. Researchers from MIT\u2019s Computer Science and Artificial Intelligence Laboratory and Tufts University were also involved in the study.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Language and cognition<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A major focus of Fedorenko\u2019s research is the relationship between language and other cognitive functions. In particular, she has been studying the question of whether other functions rely on the brain\u2019s language network, which includes Broca\u2019s area and other regions in the left hemisphere of the brain. In previous work, her lab has shown that music and math do not appear to activate this language network.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cHere, we were interested in exploring the relationship between language and computer programming, partially because computer programming is such a new invention that we know that there couldn\u2019t be any hardwired mechanisms that make us good programmers,\u201d Ivanova says.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are two schools of thought regarding how the brain learns to code, she says. One holds that in order to be good at programming, you must be good at math. The other suggests that because of the parallels between coding and language, language skills might be more relevant. To shed light on this issue, the researchers set out to study whether brain activity patterns while reading computer code would overlap with language-related brain activity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The two programming languages that the researchers focused on in this study are known for their readability \u2014 Python and ScratchJr, a visual programming language designed for children age 5 and older. The subjects in the study were all young adults proficient in the language they were being tested on. While the programmers lay in a functional magnetic resonance (fMRI) scanner, the researchers showed them snippets of code and asked them to predict what action the code would produce.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The researchers saw little to no response to code in the language regions of the brain. Instead, they found that the coding task mainly activated the so-called multiple demand network. This network, whose activity is spread throughout the frontal and parietal lobes of the brain, is typically recruited for tasks that require holding many pieces of information in mind at once, and is responsible for our ability to perform a wide variety of mental tasks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cIt does pretty much anything that\u2019s cognitively challenging, that makes you think hard,\u201d Ivanova says.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Previous studies have shown that math and logic problems seem to rely mainly on the multiple demand regions in the left hemisphere, while tasks that involve spatial navigation activate the right hemisphere more than the left. The MIT team found that reading computer code appears to activate both the left and right sides of the multiple demand network, and ScratchJr activated the right side slightly more than the left. This finding goes against the hypothesis that math and coding rely on the same brain mechanisms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Effects of experience<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The researchers say that while they didn\u2019t identify any regions that appear to be exclusively devoted to programming, such specialized brain activity might develop in people who have much more coding experience.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cIt\u2019s possible that if you take people who are professional programmers, who have spent 30 or 40 years coding in a particular language, you may start seeing some specialization, or some crystallization of parts of the multiple demand system,\u201d Fedorenko says. \u201cIn people who are familiar with coding and can efficiently do these tasks, but have had relatively limited experience, it just doesn\u2019t seem like you see any specialization yet.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a companion paper appearing in the same issue of&nbsp;<em>eLife<\/em>, a team of researchers from Johns Hopkins University also reported that solving code problems activates the multiple demand network rather than the language regions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The findings suggest there isn\u2019t a definitive answer to whether coding should be taught as a math-based skill or a language-based skill. In part, that\u2019s because learning to program may draw on both language and multiple demand systems, even if \u2014 once learned \u2014 programming doesn\u2019t rely on the language regions, the researchers say.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cThere have been claims from both camps \u2014 it has to be together with math, it has to be together with language,\u201d Ivanova says. \u201cBut it looks like computer science educators will have to develop their own approaches for teaching code most effectively.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The research was funded by the National Science Foundation, the Department of the Brain and Cognitive Sciences at MIT, and the McGovern Institute for Brain Research.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In some ways, learning to program a computer is similar to learning a new language. <\/p>\n","protected":false},"author":2,"featured_media":19456,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-19455","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-research"],"featured_image_urls":{"full":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",899,600,false],"thumbnail":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-200x200.jpg",200,200,true],"medium":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-599x400.jpg",599,400,true],"medium_large":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-768x513.jpg",750,501,true],"large":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-675x451.jpg",675,451,true],"1536x1536":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",899,600,false],"2048x2048":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",899,600,false],"ultp_layout_landscape_large":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",899,600,false],"ultp_layout_landscape":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",854,570,false],"ultp_layout_portrait":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",600,400,false],"ultp_layout_square":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",600,400,false],"newspaper-x-single-post":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-760x490.jpg",760,490,true],"newspaper-x-recent-post-big":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-550x360.jpg",550,360,true],"newspaper-x-recent-post-list-image":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press-95x65.jpg",95,65,true],"web-stories-poster-portrait":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",640,427,false],"web-stories-publisher-logo":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",96,64,false],"web-stories-thumbnail":["https:\/\/www.revoscience.com\/en\/wp-content\/uploads\/2020\/12\/Coding-Brain-press.jpg",150,100,false]},"author_info":{"info":["RevoScience"]},"category_info":"<a href=\"https:\/\/www.revoscience.com\/en\/category\/news\/research\/\" rel=\"category tag\">Research<\/a>","tag_info":"Research","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/posts\/19455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/comments?post=19455"}],"version-history":[{"count":0,"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/posts\/19455\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/media\/19456"}],"wp:attachment":[{"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/media?parent=19455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/categories?post=19455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.revoscience.com\/en\/wp-json\/wp\/v2\/tags?post=19455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}