Here’s the situation - you have a piece of mentally challenging and creative work (programming, writing a report, research, doing mathematics and the like). Tomorrow is a typical work day or school day.
You need 4 hours to finish the work and it is late. If you sleep 4 hours from now, you barely have enough 8 hours rest for the next day. Meaning if you sleep now, you still have 4 hours to do the work tomorrow. And you’re tired.
What will you do?
Me, I will choose to do it before going to sleep, for I have a habit of oversleeping and may eat up into that 4 hours.