Once again the freshman class at Harvard proves they're not stupid. There's a shortage of computer scientists, one being to some extent filled by immigrants, and since that represents an opportunity that economics and other majors doesn't offer, people are proactively taking on this opportunity.
The only drawback is that existing computer science courses probably won't train the students in the skills the marketplace needs. Consider how many now-famous captains of tech industry dropped out of college when they realized this -- Bill Gates, Mark Zuckerberg, Steve Jobs, Richard Branson, Larry Ellison, Michael Dell.
Oh well. To save time listing them, I will just say that most tech leaders that come to mind are college dropouts. But not all -- Elon Musk is a counterexample, a college graduate, and a spectacularly successful one.