On the other hand mathematicians are generally thought to peak early with their best work in their 20s and 30s (although like programmers there are certainly many cases that go against this "rule"). I think the idea is that mathematics and programming are supposed to benefit from creative vision uninfluenced by previous works whereas science and medicine are supposed to benefit more from experience.