A buddy of mine introduced me to the concept pair of Fluid and Crystallized Intelligence. That's the short answer to your question. An older dev will have more accumulated experience and will be able to make decisions based on experience much better, but a younger dev will adopt new tools and learn new frameworks faster, and the latter tends to be the heavier load for the average job-lifetime (say 2-5 years) in the modern tech industry.