I am currently in an undergraduate university considered "elite" in US. CS is the most popular major. My friends have switched from finance & medicine to CS majors - for the money and because it's obviously a good idea to do so right now. All the worries my classmates have is how to get an internship at FAANG. Again not that they'll do interesting work (which is rarely the case), but for the resume item...
I've been coding for half my life, out of pure interest for the building things and never got into it for the money. CS career being obviously a good choice and every smart kid I know majoring in it, mostly for the cash, honestly makes me worried about the future of the field in terms of whether it'll still be a good career in the future. I think smart people will do good work, just for the wrong reasons ($) and this might impact the field negatively. In 5 years maybe things will still be okay, but if the trend continues for 10 years? Will CS become unsustainable hours like working in the quantitive funds or unsustainable competition and workload like in medicine, or both?
PG has said something along the lines of "if everyone thinks something is a good idea, it's probably a bad idea" and Peter Thiel's competition theory where profits get competed away if everyone's doing the same thing are two ideas I think most about.
What does HN think?
Pursue computer science but challenge yourself with it. Don't waste these years just getting by. Double major in something that will help you work with artificial intelligence, if you want to do something practical, but double majoring in something such as philosophy could help you develop skills that you'll use for the rest of your life.
Summer internships can help you gain perspective about what you may want to do after graduation. A lot of people change employers, and some even change careers, within the first four years after university so anticipate change.