I think most coders are more productive at night because there are fewer distractions, when they're not expected.
At night, I typically go into the "zone" where I'll allocate most of my attention span to my code base and to the syntax of a particular language and to the higher-level problem at hand, and my productivity is pretty high. But during the day, I usually can't get into that state, so I bounce back and forth between talking to people, answering questions, meetings, and coding.
At night, I typically go into the "zone" where I'll allocate most of my attention span to my code base and to the syntax of a particular language and to the higher-level problem at hand, and my productivity is pretty high. But during the day, I usually can't get into that state, so I bounce back and forth between talking to people, answering questions, meetings, and coding.