And that is why you fail.
See even in IT an older person's understanding of the depth of new technologies (seen that) is the hidden value that you missed. Doctors have to keep learning as well but the older doctor has seen the ups and downs of every condition just like an older programmer has already seen the pieces that make up the glorified new technology.
As for working longer hours...that is a total sign of failure. If you have to always work extra hours your just not as good.