Because he was an intern a qualified doctor always double checked him so none of the mistakes were enacted. But he learned his limits and how far it was safe to go.
People put their lives in the hands of doctors; they are under pressure, overworked and often have a tiny margin for error. Knowing your limits is one of the most important aspects.
This is the reason usually only the brightest and hardest workers at school make the grade to become a doctor. Not because of their smarts - but because they can concentrate and focus on a task and achieve highly on it in a consistent way, even under pressure.
Working sleep-deprived for long periods of time doesn't really teach you anything after the first couple weeks. It just lowers your efficiency and increases your error rate. In software development, that causes you to waste time. In medicine, that causes, er, iatrogenic death, or something like that.
http://en.wikipedia.org/wiki/Libby_Zion_law#Libby_Zion.27s_d...
Everything can be.