Tangential to this piece: if you're worried about ageism, consider going into to defense and aerospace. Lots of older developers because of the clearance requirement
Hiring is tough right now, but it's tough for everyone. But that has lead to a huge increase in wages. Every one of my friends in the industry has seen promotions and 40% pay raises.