The hardest thing is finding a "high-functioning" company that realizes that, with age, comes experience. As the insurance commercial says, "We know a thing or two, because we've seen a thing or two."
Some of us were solving technical problems before the Internet came along and made searching for answers on StackOverflow the way to solve problems.
I had a company who hired me as a Sr Tech Lead and was suddenly switching from Windows PCs/Servers to MacBook Pros and Linux servers because they had to create iOS and Android mobile apps and iOS apps can only be developed on Macs. I was a long-time Mac user and was mentoring the team on how to use their Macs efficiently and not keep trying to find ways to force the Mac to work like Windows and teaching them how to use Linux/Unix. I was also busy doing the Tier 1 work of some guy who managed to avoid our Director so she'd stop at my desk which happened to be next to his and ask me to do the task she wanted him to do "because it has to be done right now". It was the same old sh-t, every morning and every evening, off-board Ukrainian contractors first thing in the morning because they'd quit or been fired and on-board them last thing in the evening so they can start work because they've just been hired to backfill the terminated contractors.
I was so damn tired of the micro-managing and I was not surprised when they gave me my first annual performance review and told me I wasn't performing up to my job title of senior lead because I was spending 25% of my day doing tier 1 work and ignored the fact that the rest of the team had become proficient in using their Macs. I said fine, you don't like my performance, then find someone else to do his job. I'm past my 12-mo new-hire commitment for the signing bonus you gave me, so here's my 2-weeks notice. Luckily I was able to go back to a company I'd worked at before because they had a current opening, but people over 50 don't always have opportunities that are open w/ good companies at the time they need it.