Some interview anecdotes from India (Not all mine) :
For an SDE interview obsessed with binary trees after around 4 possible traversals, the fifth one was:
"Can you write code to traverse Binary-Tree in a zigzag manner ?"
"seriously ?"
Rejected.
Questions asked in a PHP dev interview:
"Can you write code to invert this link list ?"
"Yeah I could in college, but I haven't touched C for last 5 years. I can explain the logic though"
"Being a Php developer doesn't mean you forget how C looks like"
Rejected.
Salary negotitation
"My current salary is 50k, I am hoping for 10% increase"
"We will give you 30k, dont you want to work for a world class technology product company "
"Ok, can you still match my current salary ? I might join in that case"
"Do you want to work for a world class technology product company or not ?"
"Sorry"
Rejected. candidate too demanding, lacks passion.
"Do you know Node JS ?"
"No I am interviewing for a frontend developer post"
Rejected.
As these interviews point out, most of us are bad engineers.
Yes we Indian developers are shit. We are expected to work 24 hours a day, taking orders* from product managers, who many times just become PMs because they did not want to (or never understood how to) code and are expected to feel oblige to take the smallest cuts from the bonus pie, not paid for/encouraged to take any courses (one of my bosses actually suggested me to unlearn all the "cool shit" as I was increasing expectations of good work of other employees ) , and we are inefficient at that.
But even after this, it is not at all fair to compare us to the foreign recruited people who earn twice, generally have more experience (as every experienced person in India becomes a manager), and could do all cool github coding in their career (try telling about Github to one of my previous PMs, he will point you to know more about scrum) . After all its only in foreign developers one can find "10 years of big data" (Hadoop recently turned 10 btw) and "15 years of building scalable applications in Golang" type of experience.
There are a few Indian startups which are changing the scene. For the rest, its better they hire from outside the country. If someone can make a bold statement like this, he should have done his homework.