Probably right for mainline applications. There will always be some use for programmers, just as mathematicians still find things to do. I mean, we need to do something besides watch videos and go fishing. Or maybe it won't be so bad after all, come to think of it.
Being a natural cynic, I paint a grimmer picture than really needs be. It will be a long time before computers are capable of, say, love, loyalty, adventurousness, curiosity, creativity, joy, comraderie, yearning, or duty. What we are that is presently unduplicable by machinery is creatures of the flesh, with all the advantages and horrors that brings to the table. It will still have more net cash value in the market than all the computational capacity you could ever muster for some time to come. And when that is no longer so, I will no longer care.