DEV Community

Discussion on: JavaScript as a Foreign Language

Collapse
 
curtisfenner profile image
Curtis Fenner

Human language is fundamentally different from computer languages, and the reason why you would study them is also quite different.

Understanding other languages opens up your ability to understand more culture, media, literature; in short, it opens up a huge new window into how other people see the world.

Learning computer languages does no such thing. They do not increase your access to the world and the people in it.

So, whether or not it makes sense to replace a human language curriculum with a computer language curriculum will depend on the goals of requiring a second language in the first place. If the reason is all of the things that make learning a second language uniquely valuable, then no, I don't think it makes sense to 'count' JS as a foreign language.

However, your time in primary school is limited, so this is a bit of zero-sum result. Learning even limited programming skills will probably be increasingly important for employability (and possibly as the world becomes more and more monolingual, foreign language skills less so). I for one have never really used my 3 years of high school Spanish and have totally lost the ability to speak and hear the language. If the real goal is just pushing students academically, then maybe this is reasonable.

However, I don't think that could be the goal, given that a breadth of honors/AP/IB courses doesn't count. If you had to choose between taking AP History, AP Physics, and AP Bio, AP Chemistry, and taking Spanish, which is more challenging and leaving you well-rounded and knowledgeable? I would not say it's the language classes (which in general are actually academically quite "easy"). The understanding you can get out of a language class is unique, and it wouldn't be filled by taking CS class

Still, as a matter of practicality, maybe it does make sense to allow the substitution, just because of what was outlined above and in your post, that so many people get so little out of foreign language learning and programming continues to be a good way to secure your future.