Personally, I am not a pro developer, so my point of view is different... still...
I can spend up to 3h "staring" at the IDE, caking very small corrections, compiling, running, without real advancement on my ongoing project...
I guess it all comes down to the quality time balance... I rather sleep 8h (I actually do) and then have a very active and PRODUCTIVE morning, and then take a 2h nap, and have a less productive afternoon... Than sleeping for only 4h, do a 12h developing marathon, only to have achieved the very same stage I would have with the previous scheme. unless of course, you're
@alwaysbusy