In The Future of Programming: An Interview with Paul Graham, he gives his opinion on outsourcing — which is the same opinion I came to years ago:
In any case, I don’t think outsourcing per se is much of a threat. I bet much of the time it’s just a symptom of using a language that’s not abstract enough. In effect you’re using the programmers in India or wherever as human compilers.