Live data from Hacker News

To the brain, reading computer code is not the same as reading language

news.mit.edu

91–100 of 232 posts

Re: To the brain, reading computer code is not the same as reading language

#91
I find this to be true only because learning a language is not just writing – there's also the speaking and listening component of it.

I find that I'm able to start writing a language and learn its grammar fairly quickly, but once I have to listen and converse in it it's like a whole different ballpark.

Re: To the brain, reading computer code is not the same as reading language

#92
post #28

As someone who is fluently bilingual and speaks a third language and is also proficient or better in a half dozen programming languages along with having written code in many more, this is completely obvious to me. Learning a programming language is much closer to learning a complex board game than it is a natural language.

I was originally surprised by the study and your comment, since I generally find no difference between natural languages , math and programming languages. (I am a math major). However, most of the people I interact with find my exposition methods curious in sense of structure. So, I shared this study with some of my friends, and they agreed with the study too. When I pointed out my surprise to them, they told me that…

I'm curious what's your first language. I'm learning Mandarin and find that it feels much closer to a computer language than English or Latin based. Though I don't think I'd say learning Mandarin (or any language) is anywhere near what it's been like learning computer languages. I find mathematical language different from both as well. They do feel like 3 different parts of my brain. Though math I'm highly visual (not this way in programming or English, but visual in Mandarin).

Re: To the brain, reading computer code is not the same as reading language

#93
>The subjects in the study were all young adults proficient in the language they were being tested on.

They name Python and ScratchJr, but no hints on what spoken languages were examined. I've been told Chinese and Japanese are much closer than Romance languages to code.

Re: To the brain, reading computer code is not the same as reading language

#94
post #87

Earlier quoted context omitted.

I feel exactly the same, I've been learning a second language and it's nothing like learning programming, in fact arguably the opposite, I've found that obsessing over grammar is almost detrimental to making progress with a new language. The confident students who aren't concerned with getting all the specifics of grammar exactly perfect are the ones that are making the most progress toward being conversational, they…

Interesting. I feel like coding is not that dissimilar. In the early phases of learning a new coding language, I learn how to write lines of code. Sometimes it compiles, most of the time it would cause errors. At some point it works, but a more seasoned engineer could easily find places to refactor it in order to make it more extensible/flexible, easier to read, less brittle, and most importantly to this discussion o…

I don't understand this. If your code has wrong syntax it doesn't compile. If wrong grammar you can get very wrong results. But in english you can say "I go store" and it's understandable (which btw, can be a direct translation from several languages)

Re: To the brain, reading computer code is not the same as reading language

#96
post #28

As someone who is fluently bilingual and speaks a third language and is also proficient or better in a half dozen programming languages along with having written code in many more, this is completely obvious to me. Learning a programming language is much closer to learning a complex board game than it is a natural language.

Your comment is insightful and suggests that perhaps we should try to design a programming language that feels more like a natural language.

Re: To the brain, reading computer code is not the same as reading language

#97

It's only briefly mentioned, but learning to read music is quite similar in terms of brain function to learning programming. It's symbolic, logical and structured. My university went so far as to allow students with a bachelor's degree in music to directly enter the computer science master's program.

In the early days of computing (that is, when computer companies and universities were finding the first people to learn programming) music experience was a strong signal for programming ability! Playing music prepared them for focusing on the low-level details while holding the big picture in their head. [0] [0] The Dream Machine by Waldrop

Thank you for the reference. I will go check out the book!

Re: To the brain, reading computer code is not the same as reading language

#98
post #96
post #28

As someone who is fluently bilingual and speaks a third language and is also proficient or better in a half dozen programming languages along with having written code in many more, this is completely obvious to me. Learning a programming language is much closer to learning a complex board game than it is a natural language.

Your comment is insightful and suggests that perhaps we should try to design a programming language that feels more like a natural language.

I don't think making a programming language more like natural language would be helpful. It's much harder to learn a natural language than a programming language.

Re: To the brain, reading computer code is not the same as reading language

#99
post #96
post #28

As someone who is fluently bilingual and speaks a third language and is also proficient or better in a half dozen programming languages along with having written code in many more, this is completely obvious to me. Learning a programming language is much closer to learning a complex board game than it is a natural language.

Your comment is insightful and suggests that perhaps we should try to design a programming language that feels more like a natural language.

Or perhaps we should accept that programming a computer is more like playing a board game and less like speaking, and optimize languages along those lines.

Re: To the brain, reading computer code is not the same as reading language

#100
When I'm coding, I often listen to music, and when I listen to music, I often end up singing along.

One thing I've noticed is that I can type out code at the same time I'm singing a song aloud. If I tried to do that while writing English, I'd start typing whatever I'm singing.

Post reply on HN