And it's not most, or even many of the guys I've worked with, but it just takes one or two to complete ruin an environment. Had a had a child when I had planned to, I can almost guaranteeing that I wouldn't have bothered returning to software development.
It's better now - I don't know if it's because I work in a different city, with different people, or maybe I'm just older and the younger women deal with the same old crap. It'll still pop up from time to time - and I'm getting better at seeing the warning signs that someone is going to be that person, deal with it before it saps any of the remaining enjoyment I have for the field.