I never played coffee shops; I just played a lot of coffee shop-sized venues. I took every venue I could get my hands on.
At the very end of a book I can manage to work for longer stretches, but mostly, making stuff up for three hours, that's enough. I can't do any more. At the end of the day I might tinker with my morning's work and maybe write some again. But I think three hours is fine.

