I am an Indian and i will tell you how it is. Most indians in india and the valley where i live and work suck in programming. I can't say how i do because we can never judge ourselves objectively. Indians in India write bad code because they will they are being cheated and being paid less money. The other issue is the education system is to memorize stuff and get a job so they can make money. There is no passion to do great or decent work. The end goal is to keep a job and make money. The same is true for people who work for google or amazon. They memorize the damn interview questions and get the job. Now all this is my experience with majority. So don't ask me for a study. I am sure there are exceptional programmers, founders that are Indian but majority aren't.