I was never a person that stayed up all night coding, though. I'm a morning person and my body/mind were always like "no way". But, that being said, I have woken up many times at 3 or 4 and cranked all the way through until 7 or 8 that night. So I think it just depends on your natural biorhythms.
I'm not 50 yet, but already am finding it harder and harder to get a 'good day' of coding in with a wife and 8mo old son. Besides distractions galore, my next big loss is sleep. I definitely feel that side and I'm even having a hard time sometimes remembering things in conversation. I think of it as not having my ECC ram. :)
However, like many other postings, I will probably code until I die or until I just can't understand anything anymore. Then I'll probably just back to my 8-bit machines and assembly; the days when things were simpler. The quintessential old man out of step. Heh.