I'm 69 years old and I started coding in earnest 6 years ago. Love doing it. Last year I retired from my day job and I've been coding everyday for 6 or 7 hours on personal projects. I find my mind has become sharper and really good at problem solving. The only issue I have with coding is it's somewhat of a solitary existence. If I had taken up golf I would have buddies to play golf with. With coding I sit in front of my Mac for 6 or 7 hours, and I have no one my age to talk about coding with.
I know you mention "your Mac", but there's a lot more of a community in "the Linux world" for free software/open source coders.
Joining one of the big projects will bring fun into your day, and potentially some real life meetups and conferences if you want them.
Not sure about ageism there since I mostly took part when I was younger, but we very much respected our elders back in the day (though that was maybe respecting their experience, so your mileage may vary).
I enjoy coding… there’s feeling of personal power that coding gives you, and I like problem solving. I’ve been working on 2 saas oriented projects, one focused on real estate industry, and the other on support for entrepreneurs or would-be entrepreneurs.