My friend's dad is a retired developer. Use to work for a jet company.
Well into his 60's when his son asked for him to make him a dev engine for a game he was making, he dug right in and had a prototype rather quickly.
I think as I've gotten older the only issue for me is motivation to actually want to work on projects, vs just doing any random thing.