I don't think the job of programmers will ever be automated, until there's a major breakthrough in AI where computers can be truly intelligent.
there are two simple methods for "ai":
1: a program that can program
2: an online database that's constantly added to by a program distributed to hundreds of PC's, consisting of a massive desicision tree of action and response