the company would never sponsor him for immigration in the first place
The companies would simply insert a contract clause requiring employees who switch jobs to repay the costs of their visa or even require new employees to pay the costs upfront. Of course, if the government decides to prevent Indian programmers from working in the US it has many other alternatives. For example, it can simply close the H1B program altogether. However, doing so risks making the US software industry less competitive and ultimately force companies to outsource jobs abroad.
|