The last time I made a friend, the villagers showed up with torches.
I've always considered that sheer numbers always seems to be a major issue. One zombie is usually fairly easy to dispatch, but both variants (* your primary variants are your "slow" and "fast" zombies, or "shamblers" and "runners") tend to pose their greatest threat simply due to thousands of their grotesquely decaying forms coming after your fool ass at a time.
Projectile and explosive weapons, which are plentiful in post-apocolyptia (and in some cases, there are inexplicable ammunition vending machines, and something called "Thoracic reconstructive surgery in a can" I've heard) though both plentiful and spectacularly graphic, have the major drawback of needing ammunition, which of course you cannot carry even one round of ammo for each of the thousands of zombies after you. You are GOING to run out of bullets, even with the six hundred round clips that pistols all use, you can only carry so many clips. Simple math.. more meat than heat. (hehe I like that phrase, must remember it) Even if you live in one of these odd communities with vending machines for grenades and sniper rifle ammo, you'll never be able to carry enough change, or the damn bill thing will just keep on spitting it out over and over and over right when you really really need it to work the first time.
Mechanical devices are potentially a much better option, especially if one could construct some type of mechanism which either could operate continuously or self-reset in a very short time. One particularly efficient setup might consist of a hallway of sorts, equipped with high-speed rotating blades at various heights and angles, with a gutter system down the sides for keeping things nice and neat. Now, just put a nice fat baby or something at the other end of the hall, and maybe keep a firehose handy for the inevitable backup caused by hair in the drain. Never mind the hair is still attached to the head, it's still a hair clog and Drano is tough on clogs. The key is of course to keep the zombies running into the system to be efficiently dispatched and disposed of. Cooking would destroy any potential pathogen which CAUSES the zombie plague, so it should be fairly easy to keep a stable of nice fat babies. No worse than what McDonalds gives us every day.. and who's to say that maybe there's something to this lust for primate flesh-- zombies might be darn tasty. It's all about the sauce, like anything else.
Still, to my mind, directed-energy or fuel/air devices are probably the most dependable and sustainable. Systematic banks of flamethrowers, lasers (pew pew), or Masers (microwave laser, their heads pop like peeps!) would be the best, the flamethrower systems could provide the initial coverage while the Maser system was built by my ragtag motley crew of post-apocolyptic chums. I've not completed it yet, but I'll let you know I've even begun composing a jaunty tune to share while we work. Nothing like a catchy tune, while you incinerate the mountains of rotting flesh that extend as far as the eye can see, in my mind, anyway. Maybe we could do the tune with PWM!
Do I spend a little too much time thinking about such things? My response: "Only time will tell."
(Turns dramatically into the breaking dawn, winsome twangy music as we fade to black..)