While we're on the subject of investing in infrastructure, we've got a water crisis coming up very soon now. With undeniable climate change, a large part of the country is never going to have to enough water, while another large part of the country is always going to have way too much. I think we need an interstate highway system level project to move water around the country as needed. I think this will be vital for the well being of tens of millions of Americans over the next couple of decades, but no one is even thinking about such at thing right now.
The quality's been pretty consistent for the last 30 years, which is about how long I've been in the field. And pretty much how long the field's been around, now that I think about it. The main difference now is that a lot of candidates are gaming the system to try to get through HR, and HR is getting much more aggressive about screening potential candidates out. I haven't seen a good candidate in three or four years and couldn't hire one if I did. If the problem here is HR and asshats, it's not that hard to eliminate both from the picture. Just fire HR, ask your developers to recommend people they'd want to work with again and actively recruit developers with proven track records from open source projects.
I think the "tech worker shortage" is really just a shortage of people who have no idea how to run a technical company.