The large tech companies are hiring thousands of software engineers each year and just want the best talent they can get. Maybe 75% of them hired to work in the US are US citizens. Sure, you can train new people, and they do train new people all the time. But you won't be able to get the same quality of software engineer if you restrict yourself to only US citizens - that's just common sense, adding more restrictions makes the recruiting job harder.
Now, the theory behind an H1-B is that you're supposed to be able to hire immigrants if they are bringing a valuable skill to the US. These immigrants are bringing a valuable skill to the US. It's just that the law imagines you have a single position to hire and doesn't make sense for situations like "we need to hire 5000 people with this skill set and there are only 4000 Americans that we could find with it".
What immigration laws should actually do is enforce that companies aren't underpaying immigrants compared to Americans. That will discourage companies that really only want immigrants so they can be cheap.
You could even add on a $10,000 fee per immigrant, paid by the company, to get the green card. That would make immigrants more expensive than US citizens, thus giving companies a financial incentize to hire Americans when possible. But for the large tech companies, who really are bringing exceptionally skilled people to the US, I think they would be happy to pay this fee instead of dealing with all risk and chaos in the current immigration system.
Large tech companies employ millions, they can't all be the best. Tech workers aren't special, they're fungible. The H1B program exists for temporary shortages but has been abused as an immigration program which it was never designed for.
I'm fine with a fee based program but make it $1M. $10k is peanuts. If they're as special as the companies claim then they'll be happy to pay it.
However, if you look closely, even that pipeline is kind of skewed. Very few Americans pursue advanced degrees, and even when they do, they concentrate towards business or some other non stem course. My Phd cohort consisted of 12 people out of which 7 were non citizens.
If H1B was restricted to advanced degrees such as PhD's I doubt many people would complain. It would certainly be more in line with the intent of the program. Why more Americans don't pursue STEM PhD's is an excellent question. Do you have any insight on that?
Plus, getting college degrees is expensive. People who have a STEM degree only feel a need for advanced degree if their careers aren’t doing that well. Why would you give up a high paying job to go into debt? If things are doing great, why change anything?
And last but not the least, market dynamics. If you spend 5 years to get a PHD + 2 years of Master’s, you get a higher paying job than a fresh undergrad, but people with 7 yoe get paid a lot more than that because they develop a different set of skills by then. It isn’t a very lucrative proposition for most Americans.
I would imagine this is a symptom of immigration abuse more than a rationale for more of these visas, as if often touted.
Besides tech, US universities are probably the biggest abuser of the foreign worker / visa pipeline. Not only for workers themselves, but the educational system itself now caters to inflated tuition paying foreigners who know they'll be awarded, on top of their degree, an OPT or similar visa that will allow them to chain it to another longer term method like Perm residence, marriage, H1B, etc - such that they'll be here for decades with the ability to remain and work and (push down wages for citizens), even though the original deal was they were coming here to study for 2 years and then go back home.
If you were a smart 20 year old American deciding on your major, and you noticed that 90% of the tech classes were foreigners, what would you do? And furthermore, the graduate tech programs didn't even seem to want you, because they knew they could get a foreigner to pay 2x as much tuition and / or work twice as hard, because the gov't was allowing the college to essentially "sell" a work visa along with the diploma to the foreign students.
If I were advising some bright 20 year old, I'd tell them to run from academia and tech as fast as they can - use their smarts in law or medicine where you'll make 2x as much with 2x the respect, and you won't be competing against millions of foreign workers in your own country.
What makes tech special, compared to other high-paying sectors, is that there is almost no barrier to entry. You don't need to spend 10 years in medical school or to pass a bar exam: many tech professionals are self-taught and getting an entry level job takes 2 months of training to a person with the right aptitudes. If somebody is not in tech, it's not because I'm sponsoring a dude from Moldova, which is a pain and I'd really really prefer to hire a local, but more likely because either they don't like to work in tech or they don't have the cognitive ability to pursue a career in tech. Then there's the occasional guy with the right aptitudes and interests who couldn't start a career in tech because they were somehow unlucky, but we are talking about a miniscule fraction of the population that wouldn't be enough to make any difference, we don't have hundreds of thousands of very smart people on the dole because Moldovans stole their tech jobs.
This is why we have been making fun of those saying coal miners should learn to code.
On job training regimes, universities and bootcamps don't do a great job at training developers, and almost everybody spends their first 2-3 years effectively in an informal on-the-job training regime.
The faculties for software engineering are not quite so rare, but I would argue there's a similar dynamic going on.
believe it or not companies would actually hire junior staff and train them up on the job and promote from within. let 's get back to that.
Lastly, I think we'd all agree that a graduate with the same degree can have varied performance and there's no guarantee that some sponsored person will come back with the degree and the skills they clearly need ASAP.
If your business was to collapse in 6 years why would you not spend that time finding a solution.
However, things move and move fast. And it’s not like companies don’t try to find solutions, they do, but they balance them with their need to stay competitive in the market. That is why you see initiatives all around.
On a separate note America's real competitive advantage is size. America can clone tiktok if need be.