IMO for VERY long term purposes, actuary is more likely to be automated than comp sci and comp sci may obviously expand to more fields (AI etc)
TECHNICALLY you can just learn coding yourself, do some projects, and get a job in software, as I think employers favour projects a lot. However to...