Generally people don't leave their dogs at home alone with enough food and water to last until they get back. I mean, this idiot might, but most other people either board their dog, get someone to keep the dog while you're gone, or get a house sitter.
Cats on the other hand...here's a massive bowl of whatever pellets and I filled the tub with water. Don't eat the plants and stop flicking your turds on the floor. I'll be back in a week.