Maybe there will be software jobs in the future after all?
I guess either
1) AI is very good at hacking and AI is able to write perfectly secure & useful code so it balances out
or 2) AI is very good at hacking but a large workforce will be needed to assist it in writing security as a defense, because security is hard.
or 3) AI is very good at hacking and nothing can really write secure enough code to stop it so I guess we have to take banking and stuff offline or just endure being hacked a lot?
or 4) AI is not very good at hacking but is so good at coding that very few programmers are needed.
or 5) AI is not very good at hacking, and isn't good enough at coding to really replace anyone.
My guess is that 2 or 3 are the most likely scenarios, although 5 is also a strong possiblity.
And the tricky thing about all of this is that AI is constantly changing and so are the codebases of banks and stuff, particularly when you have 1000 contractors working on them at the same time, so the security battle will be a long one.