As someone who’s 48 with a masters in computer science forced to work freelance I can attest that there is a bias against older white male American IT professionals. These scumbag startups bring in all the Indians and Asians to work for slave pay.
They claim that older IT workers aren’t educated on latest technologies which is BS. We are talking men and women in 40s and early 50s who made their way during the Internet revolution, starting in the 90s. They like to use narrative that these are a bunch of ex IBM mainframers using punch cards or something. So untrue. Those guys and gals were the generation ahead of me and mostly retired now.
Not to mention that at the current pace of technological change, "education" matters far less than the ability to learn new technologies on the fly as I and my teammates have been doing.
Employers have consumed the Kool-Aid that the H1B will allow them to bring in someone who is an expert in some technology, and thus they won’t have to invest a penny in training.
In reality what they are buying is a fake resume and a phone interview given by proxy.