Older people have a hard time keeping up with young guns who sit on their spare time however. You usually have family, kids, less energy etc as a 40 year old. Experience is good but I've found that it's impossible to know new things as well as young people since you have a life outside work.
According to jetbrains survey, 85% of developers work on weekends.