I genuinely cannot see how AI is going to be bad for programmers. It doesnt do the entire job. It does snippits and you must integrate everything. (And if it does the entire job, amazing! Maybe we can spend extra time on a good UI or extra unit tests)
AI could reduce our staff by half, but that isnt what happens. Instead we just get more work done. The productivity increase seems to warrent spending more money on programmers. If we made our company 500k/yr profit before, AI makes us 1M/yr profit now. What if we bring on 2x as many programmers, do we make 2M/yr profit?
I understand not all jobs scale like this, but at least my industry has demand go up since we are more efficient.