Are those claims true? Who knows. I'm sure that whoever hired those $9-an-hour programmers thought that if they could manage those programmers soooo well that they could get them to program as well as $100 an hour programmers.
YMMV, but in my experience, you can't manage programmers to be better programmers. No matter how much check-in approval bureaucracy, or how much QA, you will not get better programs. If you want better programs, you need to hire better programmers.
I saw your other comments, so I would add that while it is a decent salary in India. That doesn't mean you can expect the same quality as you would expect from someone earning twice the median in US. Because standard of living never really scales like you want it to.
200 dollars in India still cannot buy you a cheap computer, while 1000 dollars (the equivalent in US) can definitely buy you a solid computer.
So, yeah, it is shameful for this kind of work, because it is skilled work, and skilled workers wages (because they can essentially move all around the globe) are not tied to cost of living.
No. It does not depend at all on cost of living. It depends upon supply and demand, like anything else.
Unfortunately, if the article in the OP is true, these programmers were negatively productive :-( so it can't be as simple as just how much value a programmer produces. It's more complex than that.
Honestly, I've never gotten any good answer from anybody about what wages "should" be, for any job, programming or not. In reality, what happens most of the time is wages are simply determined by supply and demand, like anything else. There are plenty of people working for $9 an hour in very expensive cities in America--so whatever it depends on, it most certainly does not depend on standard of living.