As for infrastructure, I recently rode on the recently completed Wuhan to Guangzhou high-speed railway, cruising at average speed of 330km/hr, now the fastest railway in the world.
India beats China regards reliability of legal system, though many Shenzhen-based ventures use Hong Kong for legal activities. And of course India's internet is more open.
Although quality of life in the whole of India or China is less than in the West,
quality of life in a well-defined portion (e.g. city area) of these
developing countries will often be competitive, e.g. Dalian in China.
I do agree with that partly. With infrastructure I mean everything: electricity, roads, wastewater, ... And I'm not that sure, if this will be the same than in western countries in the next few decades. Of course, if you hide out in some gated areas or luxury domicils you can have the same quality of life. And yes, this is a generalization, no doubts. But if you look for example at the striving Mumbai area, the environmental problems already present, and most probably increasing such as the groundwater issues they have, won't increase quality of live for most of the people. And in China despite the recent massive infrastructure investments similar problems are already present. I don't say there are no such problems in the west, but I think (not an expert anyway) that these problems are going to be much more present in named countries. As I said, this is just a generalization and exceptions exist.China doesn't seem to have the the crime problems of many larger Western cities, or the "no-go zones" of US cities, but of course the price is less freedom.
Many Westerners though enjoy living in a different environment, such as India or China, for a few years anyway, though not many would want to spend the rest of their lives there.
Overall, it seems most Chinese I talk to in China would emigrate to the US, Canada, or Australia if they could [though I admit my sample is skewed, i.e. Chinese who take the trouble to approach me to talk in English].