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?
They’ll either move up the food chain to higher-touch work where AI can’t compete, or they’ll do other things.
Keep in mind that most devs aren’t really all that good at their jobs, so it will probably be economically beneficial for them to do something else. I say this as a long-time hiring manager with many decades of experience in the field.
Only if you believe the hype. It can do that in best-case scenarios when the requirements are written as rigorously as code, or where it’s replicating a common pattern.
During previous layoffs, a lot of them left the field, and some of the rest founded startups. It wasn’t always the case that firms were founded by teenaged sociopaths with strong family connections to VC funding. There was a time when they were founded by people who knew how to do things.