As a counterpoint, I have worked with many "night people" who will work very late into the night on problems, sticking with them until they are solved. I'm a morning person, more by necessity of having other stuff to do in the evening, and I find I end up being more likely to drop a problem without finishing it because I have to leave work. It's all anecdotal, but especially in software, I see how people who have arranged things to work late, without a "hard stop" could also be very productive (even if it's not healthy)