in reply to Best Performance

Oh yes. If I feel depressed I don't care about coding.
However, if I'm rested and have a nice, quiet, clean
environment, I can work intensely, nonstop, for long
stretches of time, night or day.

Also, if the task is interesting, I'm much more likely
to get into the groove and code like a madman.