Probably it's true. I think we won't be alive when it becomes a reality, but who knows...By the time artificial intelligence and automatic code generation has become mature will these programmer jobs also become obsolete.
Robots will take over most of the physical work, computers and clever algorithms will take over most mental/thinking work. What will humans do when we have reached such a society? Maybe creativity related jobs, or, in the sense of "true science", searching for solutions to problems which have not yet been solved. Until artificial intelligence becomes better at creativity than humans.