The key is probably that you can't be doing at 40 what you're doing at 20. Whether that means better technical skills, better management skills, better communication skills, just better able to navigate a company and the industry...
It probably does mean that, if someone just wants to code, they probably have a higher bar than people interested in doing a more diverse set of things.