Software developers will be fine. Chatgpt is no where near replacing a mid-level developer. Maybe it could be different in 10-15 years. But right now, more often it simply outputs garbage once you up the complexity. Even if the output code was workable, one still has to make it fit into their larger code. Which still requires an understanding of how the code works.
Don’t get me wrong - chatgpt could be a great tool for learning. At the very least, it can teach a person on how to ask the right question.
On the other hand, in 2009 I said "ten years" about consumer purchasable self driving cars good enough to not bother with a steering wheel, and that didn't happen. Seemed plausible to me even during the intervening years, given the videos Tesla was putting out. But, didn't happen.
But however long it takes, if companies like OpenAI et al can no longer benefit from humans rating the results (which is what I was replying to), then their AIs are going to be ready to replace us too.