I think for a long time programming has been presented as very hostile to work life balance, I had read about examples in high school like horror stories of crunch time. I think this does a lot to discourage women and men. My brother in law is doing programming at the same University that I did and the class sizes are 1/5th what they were when I was there.
Really? I would imagine it's exactly the opposite - it's one of the rare professions that can earn you a livable salary without working overtime/two jobs. Though, maybe if one extrapolates about the entire profession from the few famous startups (and movies about them), you're quite correct.