Blog | Admin | Archives | Random | Recent | Thanks

Life as a computer program

If my life were a computer program (note the correct use of the subjunctive form), I think it would be fair to say there was a sporadic bug in the sleep routine. Last night, I became immensely tired about ten o’clock and fell sound asleep. For some reason, about an hour and a half later, I woke up and wasn’t able to get back to sleep, at all. I rested most of the time, but sleep did not come. Needless to say, I was a bit of a wreck at work today and I called it quits early, even though I was only really tired for the first few hours.

If this were Java, or PHP 5, I would have my sleep routine throw an Exception at times like these. The exception might get caught by something useful; say, a call to a workout routine (might as well if I’m not sleeping, right?), but instead it seems to go into some sort of endless while loop where nothing gets accomplished.

Ok, I think I’ve been programming a little too much recently…

Leave a Reply