I just don't buy this happening for software engineers. I feel AI will always need human supervision with a human guiding the AI who lacks the wider context that a human can gather. I have really enjoyed doing some coding recently with GPT on some front end stuff, which is where I suck (I am a backend / systems engineer). GPT taught me a lot, but it soon got itself in a lot of trouble and had I not intervened a bug ridden project would have been made. I realise the tech will improve, but I just can't see it faring well on its own without a human holding its hand and feeding it with the context that a machine cannot determine on its own. You can see this through where it is strong, writing unit tests - testing is a perfect fit, it can read the various types , functions and methods and determine what the outcome should be, and then write a test to check those outcomes are realised.
Rather than replacing software engineers, I see it being more of an enhancer.
Many engineers will be able to upgrade their productivity and find a lot of use from being able to bounce back and forth with GPT. This was my experience this week, I worked 'with the AI' and every time I got something working it felt like a shared high five moment.
Us being out of work? Nah, this sounds like the same sentiment before that calculators and then computers were going to make accounting a job of the past.