No one succeeds in making accurate predictions of the future over a 40 year time scale. Look back at the 20th century, and see the range of range of events, and the kind of technological change, that could occur in a span that long.
Go into things expecting you might have to change careers.
Go into things expecting you might have to change careers.