Right now I'm strongly advising people not to care too much about narrow academic or intellectual pursuits because I think those skills will be almost entirely redundant to AI in a few years.
Learning to code today seems absolutely insane to me honestly. If you just want to understand at a high level how code works, then cool spend a week or two on it, but obviously outside of very niche edge cases which you can't build a career around humans won't be reading and writing code for much longer.
I'd even expand on this to say people should broadly avoid tech as a sector to learn anything in at this point. There will be a lot of disruption in the coming years. Hardware and software are going to change to better suite an AI-first world and this means almost any tech skill run a risk of disruption.
That said, I struggle predict past 10 years these days. In some ways we're now just weighing different sized infinities. In a world of AI and robotics perhaps the only good bet to make is that human are of no value anymore. This is the world I am personally preparing for. Any skills you learn today would ideally be in preparation for this.