Our opinion: both!
Don’t Swap Coding Classes for Foreign Language
The whole problem is rooted in the abuse of the key term, language. In foreign languages the term language refers to “the system of words or signs that people use to express thoughts and feelings to each other” (Merriam-Webster) while in programming languages the term language means “a formal system of signs and symbols including rules for the formation and transformation of admissible expressions“ (Merriam-Webster). To equate foreign languages with programming languages reduces learning a foreign language to the mere acquisition of a set of tokens or words that are semantically and syntactically glued together. It fundamentally ignores the societal, cultural and historical aspects of human languages.
Should Coding be the “New Foreign Language” Requirement?