Programming while tired never ended well for me. Instead, I write comments and leave half-written functions as a reminder for the next day after really studying whatever the problem is. I don't know what it is, but it all just kind of percolates in my sleep and I usually wake up with a solution or very close to having a solution.
|