I second this. Especially with coding, I've found the answers to my philosophical questions, and my logic quandaries more than a handful of times.
Also, make sure you're surrounded by motivating people, or atleast people that get you thinking. I lack this sometimes in the work environment and it's a drag...