Given your assumptions, young developers would require more compensation so they could retire (or at least retrain) at 40. Like VLM said, there are parallels in other fields. In most of those fields, there's a strong up-or-out pull that:
- helps the successful be financially secure when their careers are over
- encourages quick failure so a dramatic career change isn't as difficult
- helps the successful be financially secure when their careers are over
- encourages quick failure so a dramatic career change isn't as difficult