"Snakes......I hate snakes", Dr. Henry Walton Jones, Jr
And I'm not a fan of them either.
But there needs to be a reason to dispatch a snake. If he's in my yard, he runs the risk of death. If I'm in the woods or on a trail I let him be.
Snakes are there for a reason. They eat vermin (rats & mice). If your yard/house/barn/whatever is overrun with snakes its likely you have a plentiful supply of food that snakes like to eat. Eliminate or reduce what attracts the vermin and the snakes will look elsewhere.
That said, poisonous snakes that are an immediate danger are not welcome in my yard.
Real men kill snakes with sticks. If not a real man, then screaming usually attracts enough attention and someone will volunteer to beat the snake into a pulp for you. (pretty much any male over age twelve will be willing to do this)
Using a stick is superior to a gun because:
Quieter (except for your screaming)
No reload needed (unless you break your stick)
Sticks don't richochet
Sticks require little practice
Sticks come in various lengths to suit the users ability
Sticks require no permit (as of today)
Sticks can be used inside of the city limits (California may require you to paint the tip orange and limits the length of the stick to 12")
Edit to add:
Shovels or hoes are acceptable, but less satisfying, than the multiple strikes required by a good stick.