Being a programmer usually consists of very late nights sat in front a screen, which makes getting up the next morning increasingly difficult.
After having a few nights in a row without much/any sleep, I find no matter how many alarms I set, I am never able to wake up the next morning. To the point where I have considered an electric shock anklet!
Is this a common problem; if so how do you over come it?
Code till I want to stop coding, wake up when I want to wake up.
The only thing is to do regular weekly progress checks. So at the end of the week, I'll actually take a stock check of what I have accomplished. As long as its pretty reasonable progress (say 40-50hours coding with actual results), then I'm good to go.
I find my body is hard to understand. Some days I can code for 12 hours. Some days I can code for 2. Some days I wake up bright and chirpy in the morning. Some days I dont.