tangor - 5:07 am on Apr 14, 2010 (gmt 0)
I still vote for beer. :)
Seriously, when working on new projects, and if the project allows, I reuse established heavy lift code as much as possible unless the contract calls for all original "work for hire" to pass on client owned copyright. Those projects I don't like as much as they are more difficult. Meanwhile, get the hard, boring, straight-laced component parts done first (need to do that anyway to make sure usability and scale are there) then do the eye candy.
And sometimes it's beer and a movie. Or a bike ride (sans beer, not recommended!) to clear the brain... just find a good bike trail with attractive scenery... and you know what kind of scenery that is... Whoo Whoo! That will certainly get your mind off code for a bit. :)