In all my years as a software developer the morning hours were just absolutely perfect for me to get the hard stuff out of the way. I reserve afternoons for the drudge work, but in the morning I have much better cognitive ability.
Better yet, if you work from home you can wake up at 6am, start your workload early and you have the entire afternoon off for whatever you need, it's a sweet system!