I would love to be able to wake up on a morning, fill my day with inspiration and have solutions come to me immediately as I worked and do that for a solid 8 hours and crank out thousands of lines a code every day. Isn't ever going to happen.
Today I wrote 3 lines, they were really important lines, they took me 4 hours. 3 hours and 59 minutes to work out what had to happen, why and how and 1 minute to type it out. Then I was done for the day. Was it a productive day? Depends how you look at it really, I could have spent 8 hours writing reams of code to achieve the same result. I measure how productive today was based on how many lines of code I didn't write.