Anyone older cut their teeth on assembly or C, NetBIOS, and CLI and may or may not have stayed current afterwards. Consider that the industry was a lot "older" (just look at old pictures) until those technological shifts happened and shook out all the people that learned in the 60s or 70s.
If something like quantum computing or a parallel functional computing revolution or VR/augmented interfaces or anything else grossly disruptive to current development practices comes around, we're all going to be in the same boat: learn or die. Getting through that is not so much a factor of age as the circumstances around age and one's willingness to keep at it.
Is there something wrong with these in that they are not useful anymore? I see a lot of jobs that require these, and I think they're still very relevant. Actually, I'm relatively young and love that stuff and work with that stuff... I'd love to work with someone who's been working with those for decades, experience really does show.
IBM was particularly brutal about this stuff when they were eliminating people still on the pension plan.
However, in any case, the reality is that for small companies, for all but the most senior and/or desired employees (and even then), a potential non-compete issue just isn't worth dealing with. Doesn't matter whether it would ultimately lose in court, you're just not prepared to go there. That's the real issue with non-competes.
I've worked for a small firm and a candidate with even the most peripheral non-compete was just a non-starter.
I knew a guy who was about 50, brilliant, brilliant engineer working for one of the big IT players. Well respected and trusted advisor to many customers. He got vaporized in some big restructuring that hit his division.
Because of non-compete and what he did, he was basically out of work for almost a year, and was stuck in career purgatory for a few years doing random contract work.