I'm usually conscious of all actions if I'm eating something messy. Because I always use laptops on desks, the elevated bases protect the keyboards and I don't drop crumbs on the keyboard due to its close proximity to the screen.
If I would knock something over, and I likely won't, I can just scoop up the computer quickly.