My "extracurricular" coding is at home, surrounded by a family, and the potential distraction aspect of not getting into the "zone" is near and dear to me. While I'd like to have a perceived endless block of time, I've learned to live without that bit. But I've not learned to get into the zone with the threat of interruption. I can do "light" coding activity, but for something in-depth I usually have to bolt to the library or a cafe for an hour or two. Yes it is time bound, but I know that no one is going to step into the office for "just one thing"...
(These jaunts only happen about once a week though, so the output on my hobby projects is pretty weak.)
(These jaunts only happen about once a week though, so the output on my hobby projects is pretty weak.)