Please pardon my cynicism for a moment. No doubt AI will be able to replace a majority of software engineers at some unspecified point in the future. However, I suspect an embarrassingly large number of companies will jump the gun and attempt to pivot to AI generated code prematurely. The results will crash and burn, possibly literally, and some market segments will be hit with lawsuits so hard that they'll effectively be barred from using AI to write code for several decades. Meanwhile, the less critical industries will crank out buggy AI crap that works 90% of the time because it will still be more profitable than hiring engineers. And everything will suck until the AI overlords are finally advanced enough to completely take over.