I usually drink water, because I'm always thirsty. I can't really say that I eat while I program. I usually get up and walk to the kitchen when I get the munchies.