Software dev with over 17 years experience here, who also uses AI a lot in his job.
Why? Because AI will take them all (or is more likely to take them all).
People are pretty stupid
How the hell would AI be able to take over... without people with CS skills to... make the... AI?
Its literally like claiming that engineers jobs will be taken over by robots... Who is going to make and design the robots...?
AI isnt going to take over our jobs, AI is a tool we use to do our jobs better/faster.
Its akin to what happened with carriage drivers when the automobile was invented. Horses lost their jobs, for sure, but cab drivers now vastly outnumber how many horse carriages we used to have.
When the cost and time to do a job goes down, demand goes up exponentially because budgets follow a curve, down to a breaking point but a breaking point we arent anywhere remotely close to.
When you halve the cost of your product, you MORE than double your demand because as price goes down, the buyers who can afford you go up EXPONENTIALLY.
So don't worry about it, but you DO need to extremely critically be very aware of and be ready to learn how to use AI.
Also, a Comp Sci degree is a theoretical math degree focused on the theory of programming. Its not recommended for a practical path in life if you want to be actually making software.
Computer Sciences: Publishing papers on math theory with respect to AI, Encryption, Math, Game Theory, Set Theory, stuff like that
Computer Engineering: Designing and building hardware, and creating firmware for it. ESp32s and Arduinos go BRRRRRR. Get read to solder stuff.
Software Engineering: I wanna make programs that do stuff for people, but I demand a higher salary and in turn am eligible for more advanced work where peoples lives and safety might be at stake. However, I have to spend an extra 40 to 50 grand to get this title.
Software Developer: I wanna make programs too, but Im not gonna spend 40 grand on a fancy ring I can show off at parties and I cant call myself an "engineer" or I might get in trouble, but unless the stuff Im working on involves human lives/safety or mission critical things like bank software, no one gives a shit. You'll make less money but also have a waaay eaiser time finding work
Make sure you know which one you want and pick accordingly.