Let’s assume that in 10 years, AI has advanced absurdly, insanely fast, and is now capable of doing everything a Senior SWE can do. It can program in 15 different languages, 95% accuracy with almost no mistakes, can create entire applications in minutes, and no more engineers or SWEs are needed… What will all the devs do? Do they just become homeless? Transition to medical field, nursing? Become tradespeople like plumbers, HVAC?
That’s still a lot of software engineers displaced in the hypothetical scenario. That means you only need the devops and qa engineers, and a solution architect or principal engineer or whatever your company calls that sort of role for the analysis and design part.