I see no reason at all to hurt any snake unless you are in real danger. In fact, I am not into the good or bad snake theory. Just because a snake is venomous, it doesn't make it bad. Most snake species will not attack you unless they feel threatened first. Don't bother a snake and just go around it while keep good distance if you see one in the wild or on the sidewalk or such. If a snake has got into your house, you can always call the police and let them to deal with it. Some areas have Animal Police who are good at removing such animals from private property in a professional way before releasing them miles away from your place.