H-1Bs aren't the reason you've think you've "ruined [your] life being a coder in Los Angeles". Your profile has you down as an Android developer: I met a co-founder based in LA last week who was bemoaning the lack of good mobile app talent. I frequently get hit up from startups in LA, and I used to consult for a major firm in the OC that's vacuuming up Android devs. I can't tell you why you're having such a hard time, and I feel for you: but blaming H-1Bs isn't productive.
Here in Germany most women prefer career paths that are paid worse than IT modulo medicine. Also, IT is not considered low-class, maybe because there are many academics in IT.
He's absolutely right. In the US, software development has always, until perhaps very recently, been considered a very low status career and with low long-term potential. That is, versus one of the classic engineering or medical jobs. By the way, in the US, IT generally means support desk job, which is seen as the lowest of the low. Only very recently has the median software development job approached anywhere near a medical specialist or the classic engineering job, and it's still far below the wage of many US doctors.
I'd say that the US general public is still expecting the imminent outsourcing of all software development, to foreigners making $2/hour somewhere far away, to occur soon. People in the field don't expect this, but that's how outsiders perceive it.
This low-status is a huge contributor to what keeps most US women from pursuing software development as a career, according to women I've talked to. It really is that simple and obvious.
This is also why there's a trend of US software developers prominently adding "scientist" or "engineer" to their job titles. Pure software development still has a low status stigma.
In terms of long-term potential medicine specialists are better off here, but it is not as extreme as in NA. If you are a top-tier IT freelancer, then you can easily compete with them.
These scumbag companies affect startup eco-system in India too. For many engineers - the only reason to work for these companies is to get into US. They pay shitty salaries back in India, have shitty working conditions. The only reason, I have seen people sticking to them is - get enough experience and go to US on L1/H1B. And speaking from experience, many Indians will do anything to get to US. :(
You can't really blame them can you.
Much of our current economy is designed to maximize the exploitation and domination of labor, even when that runs against maximizing productivity and economic output.