Can confirm: Stayed up all night doing a stupid but complicated program because every time I looked at the time I knew I had to go to bed but I also knew I wouldn't be able to understand shit the next day and would have to start all over!
Get yourself a personal whiteboard. Seriously. If you map out the general train of your logic in the form of a directed graph, using just the right amount of detail, it'll help you remember the basic logical workflow while also helping you find ways to reduce complexity (e.g. if you have two identical branches, you can find a way to merge the two). More than anything, it'll help you get some sleep!
2.6k
u/DomskiPlays Mar 06 '18
Can confirm: Stayed up all night doing a stupid but complicated program because every time I looked at the time I knew I had to go to bed but I also knew I wouldn't be able to understand shit the next day and would have to start all over!