Well, I took Spanish in HS, and it was part of the requirement to get into Berkeley. However, once I got there (in Letters & Science), there was no requirement to take more. As for requiring a programming class, it might be useful, like all those years of Spanish MIGHT help me talk to somebody who doesn’t know English, but it barely helps. Without practice, programming like any other skill will atrophy.