So would you stop if it were a “bad” career choice? That seems just as disingenuous as you’re insinuating your colleagues to be in switching to CS. And anecdotally, having went to CMU, everyone I knew switched to CS or moved CS adjacent - and many of those that switched are enjoying it to the fullest - not as FAANG engineers but many as CS PhDs.
In undergrad, the crowning achievements you can get are mainly the internships, especially at FAANG companies. Don’t worry about it too much. If it really is about the code and the work, just keep doing what you like doing. Computer science isn’t going to go away any time soon, and if it is, academics will be the last to let it go.