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.
To the brain, reading computer code is not the same as reading language
141–150 of 232 posts
Re: To the brain, reading computer code is not the same as reading language
#142I think it's closer to legal work, like drafting an agreement or a contract. You have to define the behavior of all the actors the ways they will interact with each other etc.
Re: To the brain, reading computer code is not the same as reading language
#143Earlier quoted context omitted.
I have the exact opposite experience. For me, part of the problem is that in math, you have options. If you forget the quadratic formula, you can: - Re-derive it by completing the square on the general quadratic - Solve a specific quadratic you're interested in by factoring or graphing - Try to find zeros with numerical methods The point is, everything's connected to everything else, so it doesn't matter if you forge…
That is such an interesting and...low-level way to think of it. To me it feels a little deeper than just there being a "maze of rules". Your earlier mention of "everything's connected to everything else" resonated with me more. In a sense, the expressive power of programming languages, and mathematical notation, feels very small . I liked the board game metaphor brought up in the top comment: programming languages an…
we actually literally did this in high school. It was very informative for me.
Re: To the brain, reading computer code is not the same as reading language
#144As 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.
Legos with the all the rules of AD&D 2nd Ed.
Re: To the brain, reading computer code is not the same as reading language
#145So this may mean that language models like GPT-3 are not best suited for code generation tasks. And networks trained on languages may not learn the feature embeddings needed for programming languages.
Furthermore, GPT-3 is only a language model because it is trained on textual data. Transformer architectures simply map sequences to other sequences. It doesn't particularly matter what those sequences represent. GPT-2 has been used to complete images, for example: https://openai.com/blog/image-gpt/
Re: To the brain, reading computer code is not the same as reading language
#146As 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.
Basing a computer language on a subset of English was done for several query languages, ranging from SQL to Attempto Controlled English (https://en.wikipedia.org/wiki/Attempto_Controlled_English).
Re: To the brain, reading computer code is not the same as reading language
#147As 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
#148Perhaps we shouldn't call it programming language then. Suggestions for a better name?
Tough one. Maybe script . That will make everyone groan. It's still a language metaphor (Latin script, Korean script). Or programming system in analogue of writing system . Becomes progsys for short. I know - why not just call it code ? That's what we already do. We can just make it the preferred term.
Re: To the brain, reading computer code is not the same as reading language
#149As 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 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…
Gender in German, for instance. It seems to be completely arbitrary save for one detail: whichever “sounds” best. I compare this to using “a/an” in English (albeit the rules in English are somewhat more “strict” in this regard.)
Re: To the brain, reading computer code is not the same as reading language
#150Earlier 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…
Weirdly I make the same observation as you about second languages and detail in grammar, but I came to the opposite conclusion. I thought natural language and computer language were pretty similar. One issue in the study is what a reasonable comparison is. Our ancestors would have talked about "there is a lion over there" and such mundane things all the time, so we shouldn't be surprised if we're just "nexting" those…