As willpowered says, watching other gamedevs is sometimes enough to do the trick. What works for me is listening to a programming podcast or reading a book about game development (or just programming in general).
Current recommendations in podcasts: TechZing, Walled Garden Weekly;
Books: David Kushner's Master of Doom, Randall Stross's The Launch Pad.