Is It Best to Work a Little Bit Every Day, or in Bursts of Dedication?

When it comes to productivity, some say you should focus on one thing only, working on that sole project for many hours a day, for as long as it takes. Others believe in small daily progress over a longer period of time (maybe with more variety and additional projects that you shift between).