I use this technique and also try solving or visualize difficult problems to make myself sleep, it's better than reading books. In the morning I'll probably have a better perspective on the problem, sometimes I'll just realize it can be avoided with another feature, or it's something I shouldn't care about in the near time.