Can I just write a description that ends with "and make it all fit in 64K, with a response time of 1ms, and zero defects." and this just magically happens? If not, then we're not out of a job. Sure *some* programmers will be out of a job, but I think the class of programmers in this position should already know that they're due to be outsourced anyway.
There's been this holy grail of automatic code generation by entering a design in some different way other than text (UML) and then clicking a button. And when something almost works but is amazingly impractical (Rational Rose) people get excited. Someone was actually bragging about using a tool which had "only" 100% overhead in its auto generated code (like saying that your diet is great since you only gained 50 lbs). And how do you even fix bugs in auto generated code? Do you assume that the design must have been wrong and start moving block around on a diagram, or do you dig into the obfuscated mess that the tool spat out?
I have on a few occasions spent time searching for code snippets online for something I needed to do. Hard stuff of course, the easy stuff I can just do in my sleep. But I would find lots of answers that were completely wrong for what I wanted, it was only for windoze, or a broken stackoverflow answer that no one downvoted, or dozens and dozens of repeated answers all copied from each other even though it was wrong, etc. If you're in a windows monoculture, doing some vaguely generic web app that every company in the world does, then maybe this works, but you can have trained monkeys with certificates do that too. Now ask how can you do that *better* than all the vaguely generic web app that everyone else does and put it onto a different platform then you have to do the leg work yourself instead of relying on code snippets from search engines.