What I like best is when I have a few hours of completely uninterrupted work, either programming or drawing. No emails, no phone calls, no Facebook. I just watched an interview with Brandon Sanderson, a fantasy author, and he says the same thing, but about writing. He says he likes to have two 4-hour long sessions of work when there are no distractions, he’s just by himself and he writes.
The whole interview is very inspiring:
He says that writing is his passion, and even if he wrote 100 novels and none of them were published, he would be fine with that. It’s so rare to hear someone say something like that.