No reason that you can’t be an older programmer, doctor or artist. I switched from line management to strategy consulting at the age of 30 and was the oldest consultant in the practice by far. Best decision I made as it set me up with key skills for the rest of my life when I returned to line management. I became a business school facilitator at 35 And a LinkedIn content creator in my 40’s.
We all get to our epiphany about the meaning of life at different times.