Live data from Hacker News

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

news.mit.edu

21–30 of 232 posts

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

#21
This is hardly surprising. The only reason "programming languages" are called that is because early computer scientists borrowed from linguistics research at the time which defined language as a set of strings. Programming is general purpose problem solving, the fact that it is expressed in mostly English words is arbitrary e.g. Brainf*ck.

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

#22
post #14

This would explain why I can listen to music or TV while coding, but not while reading a book.

Somewhat opposite experience for me. I can’t listen to anything with words while coding. TV, podcasts, songs with lyrics all torpedo my ability to parse code. Instrumental music especially with a strong beat seems to help though.

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

#23
post #5

Of course it doesn't! But I'm interested to know if that's also the case when reading cooking recipes or instruction manuals?

Or a blueprint, or sheet music, or telegraph transcription, or stenography, or anything where language is a non-prosaic abstraction.

Or perhaps legalese?

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

#26

This is hardly surprising. The only reason "programming languages" are called that is because early computer scientists borrowed from linguistics research at the time which defined language as a set of strings. Programming is general purpose problem solving, the fact that it is expressed in mostly English words is arbitrary e.g. Brainf*ck.

Seems like a weird conclusion to draw. If programming languages are arbitrary why didn’t we stop abstracting or creating new ones?

The language is often a reflection of the problem it was intended to solve. Would you really argue that Brainfuck can solve your problems just as well as Python?

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

#27
post #14

This would explain why I can listen to music or TV while coding, but not while reading a book.

I’ve had the same experience. I’ve talked to my coworkers about this before and it seems like we all have different experiences in that regard.

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

#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.

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

#29
post #26

This is hardly surprising. The only reason "programming languages" are called that is because early computer scientists borrowed from linguistics research at the time which defined language as a set of strings. Programming is general purpose problem solving, the fact that it is expressed in mostly English words is arbitrary e.g. Brainf*ck.

Seems like a weird conclusion to draw. If programming languages are arbitrary why didn’t we stop abstracting or creating new ones? The language is often a reflection of the problem it was intended to solve. Would you really argue that Brainfuck can solve your problems just as well as Python?

Not that programming languages are arbitrary, but that the choice to use words (Python) rather than, say, punctuation (Brainfck) or emojis is because is easier for our human brains, thus arbitrary. But the task at hand is still problem solving, not language processing (at least not in the capacity of a typical conversation). I think a good example of this is the popularity of code visualizers. The only thing stopping Brainfck from solving your problems as easily as Python is the ease of human understanding, not some fundamental property of Python being more “language-like.”

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

#30
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 am autistic.. I read code and "interpolate" across lines quite well. On the other hand, finishing one basic written sentence can sometimes be a surprising struggle.
Post reply on HN