There are also courses designed to support switching, e.g. I read maths with computer science IA which usually goes on to 100% maths IB, but switched to computer science without a single headache.
A friend switched from computer science to linguistics, it can be done.
A friend switched from computer science to linguistics, it can be done.