I’ve definitely wondered how easier immigration would affect my salary. I could see a lot of talented devs quitting their jobs to start companies that would hopefully recruit me with better benefits than I currently have.
Honestly I'm thinking more and more that devs only have 1-2 decades left before enough of the stack gets easy enough to automate. While there is a whole process in developing quality software that is extremely difficult to automate, often many shops don't require this and so it remains to be seen if these high salaries will be sustainable. With the rising costs of maintaining a solid middle class life in this country and no safety net, I suspect this magical opportunity a few have been fortunate enough to get will not exist for the next generation of developers. Efforts such at TPP and "Learn to Code" are tools used to chip away at this advantage these workers in the tech industry currently have over employers.
The only hope I have is that most efforts to automate real software development have fallen apart thus far and that it is hard to do this job for many people trying to "learn to code". However I worry about what AI advancements will bring. No way to know until it happens...