You might want to read the following article on Medium.com about being a developer after 40. I don’t agree with everything in this article, but it is an interesting read anyway.
“Being A Developer After 40”
https://medium.com/@akosma/being-a-developer-after-40-3c5dd112210c#.9z0wl8wjf