Flash back time. I recall when college had a language requirement, as well as many others (like showing up for class). I knew a guy then who was an engineering or chem major who argued long and vociferously that Fortran (that tells you how long ago this was) should be considered a "language" and satisfy the college's foreign language requirement. At the time, his protestations went nowhere.
Now, the state of Kentucky has passed a billed allowing programming to satisfy the foreign language requirements.
In high school my kids had to pass a Regents Exam in the foreign language of their choice (among the very few offered). They did not have a choice about programming or any other computer course beyond Office.