It’s not at all clear what point @gorillapaws was trying to make. Presumably @gorillapaws finds outsourced Indian software coding to be inferior (in line with the OP’s question), but that isn’t stated explicitly, and I don’t know computer coding, so I have no opinion.
Otherwise I agree with the other posters, mainly.
The US is a more or less self-made country, a country based on a shared idea, and as a young country it enticed a lot of risk-takers to emigrate to it. For that reason a lot of our national culture is based on not being too afraid to take on risk. This has led to our national myth / motto of “Can do!” If there is a job to do, then we ‘can do’ it. The more or less open competition in business has also led to a general improvement in business methods and techniques, and even our states themselves compete in various ways among themselves to offer less expensive (or more generous, in some cases) government.
Because of the ‘self-made’ nature of the country, we don’t have a lot of the ancient rivalries that exist in India, its caste system, nor the plethora of languages that persist across the subcontinent. So that has helped us to get to where we are today. (However, Europe also has ancient rivalries and a variety of languages, yet has also managed to surpass India economically.)
And since the US was founded on a revolution, and the first of our guaranteed rights in our Bill of Rights is “Freedom of speech”, we have no lack of government critics. Even though there is attempted suppression of that right, and has been since the nation’s founding, the trend is toward “more political freedom”, “more speech”, and open criticism. This takes time, but it does tend to curb the worst abuses of government. This does not seem to be the case in India (viewed from afar), and the government is still much too heavy-handed – the direction that the US is taking now, as a matter of fact, and which will hurt us unless we change it.
Getting back to competition, though, along with ‘business improvement’, this has led to an expectation of excellence in products and in methods of production, as well. The idea that “If you can build a better mousetrap, the world will beat a path to your door” is an American one (Ralph Waldo Emerson) that we continue to try to make true.
Currently my company is outsourcing much of its production to India. The difficulty in doing this is mind-boggling at times. Even though top management wants production to go to India, and my colleagues and I in Europe and in the US have to support that ideal if we want to keep our jobs, and we attempt to deliver the productivity tools, management methods, all of our technology and everything we know about our business, our Indian colleagues won’t use the gifts we offer. They nod that they understand, and then demonstrate that they don’t. They promise to do what we’ve instructed them how to do, and then fail to even attempt to do it. They ask questions about irrelevant aspects of the business, and fail to grasp core concepts, and they will not venture their own opinions, offer or attempt to take a lead in anything, and simply refuse to accept the idea of “taking a chance”.
It’s quite stunning. We’re offering them our business “on a silver plate”, and they won’t take it.