This was closed on Programmers but not before a couple of people posted answers:
"Like you said, everyone is different. I personally however have often mixed it up depending on the mood I'm in. Sometimes I just don't feel like programming. Other times I really feel in "the zone" so during these times I focus on just programming.
However, whatever I'm doing, and especially during programming periods, I try to make sure I allocate a decent amount of time to the task involved and avoid distractions such as checking emails constantly or flicking between work tasks. This helps ensure I focus on the one task.
I try to get into work first which allows me a bit of down time to trawl through emails and then plan what I feel like doing that day. This is often based on the work scheduled for the week, and that scheduled for in the month. Also, it might depend on what happens, during or after our daily SCRUM meeting, or perhaps any urgent work that has just come in over night.
Then when everyone comes in I feel prepared and can chit chat and catch up socially as I know what I've got planned for the day so don't feel pressured with the unknown. Of course if I'm going to have alot on then I won't chat for too long etc
I'm a routine guy, but only so far as I like to have routine things happen through-out the day such as my afternoon tea about 1 hour before I plan to go home. My day review for 5 mins and and any notes for tommorrow I make just before I head home each day. Other than that, I try to stay flexible because at the end of it all, you never know what each day might bring. Well, that's the kind of job I like to be in anyway."
And:
My rules (with decreasing importance):
I'm eating the frog every morning!.link
I'm watching my daily performance curve and behave in accordance.
I'm reducing my inner temptation with the help of routine.link