This blog article reminded me of a part of my life that is long past: the times of the all nighter.Â Â Back in my undergrad days, I would fairly regularly pull all-nighters, usually working on some kind of computer programming assignment.Â Â I think this culminated in a massive 72 hour awake-athon, where I consumed over 100 cups of coffee in three days.Â Â I was working the breakfast shift at the cafeteria, doing an easy job, just checking IDs of students who come in and reading the newspaper.Â Â I remember trying to read, and suddenly seeing words suddenly jump off the page.Â Â I decided that hallucinations were a bad sign, and got someone to take my shift, went home and slept for twelve hours.
Shortly after this, I began to notice something: the code that I wrote past midnight was usually really ugly, buggy, and didn't make much sense the next day. Â I also found that programs were just easier to write when I wasn't tired. Â So I created a rule: I simply don't program past midnight.
As I've gotten older, I have begun to realize just how dependent your brain is on being properly fed and rested. Â Caffeine just makes you jittery. Â Loud music and bright lights just give you a headache.Â You need sleep, so sleep. Â Plan ahead enough to keep allnighters from becoming a necessity.
Technorati Tags: Advice