Wow. Thanks for posting that. It's definitely not the topic I was raising here, but it's an important one all on its own. I recently read this blog post (and its comments):
http://makemeasammich.org/2012/06/28/a-brief-history-the-bad...This discussion becomes one of predator and prey, and can women ever be safe in a world or a profession where men have enough power for the predators to proceed unfettered.
To my original point, it is certainly possible that by virtue of the dynamic that the profession is already dominated by men, women stay out of it purely for concern of their own safety, and the rise of 'brogrammer' culture certainly reinforces this ( see http://www.cnn.com/2012/05/07/tech/web/brogrammers/index.htm... ), but I'm not persuaded that's actually the necessary-and-sufficient condition. I think the brogrammer culture is overstated, and women have taken down many male-dominated fields, opening them (and public opinion) to a better way.
Personally, I hope progamming is next in that queue, because I, for one, am tired of working with all white (and indian, and chinese) guys.