They play a critical role in nature and should be respected for that. I have an immense amount of respect for the role snakes play in our world. I have no fear of them and actually, sometimes prefer them over humans.
Now, that being said, when I come across a danger noodle in its environment while mountain biking or backpacking, I leave it be and give it the widest berth. I am in its territory and respect that.
If one were to be found in my yard (very small chance), sorry, meet your maker.