I never heard of that rule, else I wouldn’t have eaten a bowl of chili while entering Basic programs into a Vic20. Food and computers always went together.
Unsurprisingly, the Vic did not get ruined by moisture or crumbs. I used to take a screwdriver to it occasionally, and solder, so there is that, too. That was probably way more risky.