3 ms·
As someone who has been captivated by studying related languages and noticing similarities between them, I think the way that learning one language "helps" with
by schoen 13y ago
As someone who has been captivated by studying related languages and noticing similarities between them, I think the way that learning one language "helps" with learning a related language can be quite narrow. The main benefit is probably a built-in set of mnemonics for cognates (whether at the word level or the morpheme level).
For example, if you've learned the Latin verb conjugation endings -o -s -t -mus -tis -nt, you have a useful starting point for memorizing the Spanish equivalents -o -s -ø -mos -is -n (which derived from them), or the Portuguese equivalents -o -s -ø -mos -is -m, or French -ø -s -ø -ns -z -nt, and so on. Similarly, the numbers provide good mnemonics: Latin unus duo tres quattuor quinque sex ..., Spanish uno dos tres cuatro cinco seis ...
Similarly, if you know the personal pronouns in one Semitic language like Arabic or Hebrew, you've got a major boost for learning them in another because they're extremely similar:
https://en.wikipedia.org/wiki/Semitic_languages#Independent_personal_pronouns https://en.wikipedia.org/wiki/Semitic_languages#Independent_...
But in each case you still have a lot of memorization because there will be sound changes and lexical changes that are not predictable a priori, include extreme cases like suppletion, where one verb partially replaces another.
https://en.wikipedia.org/wiki/Suppletion#Examples https://en.wikipedia.org/wiki/Suppletion#Examples
In the programming context suppletion might be as if someone started implementing an API from one language and then decided to use a different API as the basis for half of the function names.
I think learning many natural languages (whether related or not) helps because it builds up your conceptual framework and repertoire for how things can work, especially in terms of syntax and morphosyntax. For example, Indo-European languages have a wide range of ways of using participles and infinitives (some of them different from the ways that English speakers are familiar with), and seeing a few of these can help with understanding how they work in other languages. Or there's relative clause structure (like "the first foreign language that I studied") and indirect discourse ("she felt that natural languages and programming languages were similar"), which are handled quite differently in different languages, and it's helpful to get a sense of some of the ways that these things can happen.
Maybe a programming language analogy would be ideas like indexing starting from zero, which is not necessarily always used in every context in every single language, but which is an important concept to know about. Or list comprehensions or anonymous functions, which are again not available in every language but which are useful to understand. Or lexical vs. dynamic variable scope. :-)
A given programming language can in theory make totally arbitrary choices about these things at the whim of its designer, but in any case it will probably do most things in a way that's conceptually related to at least some other programming languages that have come before.