Because I wasn't able to find this easily on my own... PSA if you want to post code like this:
while (alive) { eat(); sleep(); code(); repeat(); }
Then you have to know this: