My apologies to the snake lovers, but for me, a good snake is a dead snake.
I have shot a few with my .22 pellet rifle. The last one was sitting right on top of my mail box, which has a row of shrubs right behind it. Either my wife or I (or the mail man) could have been bitten if we startled it. I killed another on that was peeking out of my hedges. My wife walked right past it (probably no more than a foot) and didn't even notice it until I warned her.
I just got the Gamo Viper Express which fires lead shot or .22 pellets. I am reasonably impressed by the penetration and am pretty sure it would easily take out a small snake.
I live pretty close to a mangrove "swamp" and I'm sure there are plenty of snakes in there. As long as they stay there and away from my house, I'm fine with that. I don't want my wife, dog, or myself to get bit and have to worry about whether or not the snake was venomous.