What the hell are you talking about? Medical doctors are not "mostly men". Roughly 50% of all medical students are women, and current trends have women overtaking men in the profession long term.
Hiding somewhere in the rest of that somewhat nonsensical comment (ellyagg's, I mean, not yours, tptacek) is the kernel of a fairly good question, related to what you're saying here: why is it that in almost every other once-male-dominated profession, the ratios have been rapidly approaching parity, whereas in programming, the separation maintains itself quite rigidly?
Male doctors, lawyers, and bankers tend to be a super scummy bunch assholes as far as women are concerned. Anecdotally speaking, guys in any of those professions are far more blatantly sexist towards women than your typical programmer is, and based on non-anecdotal data, the wage gap in each of those fields is worse than it is in programming (I don't have the refs at hand for that, but the conclusion is pretty solid, from what I remember programming is one of the fields with the smallest wage gap, especially for more recent grads).
I can't help but wonder how much stuff like the asshattery that's on display in this article is really the cause of the lopsided sex ratio in this field, and how much is a side effect of the fact that so few women are around in the first place. You'd think if sexist attitudes of men in a field really had such a huge impact on whether women wanted to enter the field or not, women would rarely go into medicine, law, or finance, but over time, they've flocked to each of them in much greater numbers than they have to programming, putting up with tons of abuse in the process (don't get me started on finance, oh, the stories I could tell...).
Not that it matters when sexist crap comes up - it's wrong, full stop, and if we really want women to enter the field we are right to make every effort to stamp it out.
I'd just be wary of accepting too easily that this is the whole story, or even the most important part of it; it's certainly a piece of the puzzle, but I find that I've got to squint harder than I'm comfortable doing to imagine that it really makes everything else fit together. [edit: just to be clear, I'm not saying that you or anyone else specifically claimed this here, but it's a common enough sentiment that I'm addressing it anyways]
Hiding somewhere in the rest of that somewhat nonsensical comment (ellyagg's, I mean, not yours, tptacek) is the kernel of a fairly good question, related to what you're saying here: why is it that in almost every other once-male-dominated profession, the ratios have been rapidly approaching parity, whereas in programming, the separation maintains itself quite rigidly?
Male doctors, lawyers, and bankers tend to be a super scummy bunch assholes as far as women are concerned. Anecdotally speaking, guys in any of those professions are far more blatantly sexist towards women than your typical programmer is, and based on non-anecdotal data, the wage gap in each of those fields is worse than it is in programming (I don't have the refs at hand for that, but the conclusion is pretty solid, from what I remember programming is one of the fields with the smallest wage gap, especially for more recent grads).
I can't help but wonder how much stuff like the asshattery that's on display in this article is really the cause of the lopsided sex ratio in this field, and how much is a side effect of the fact that so few women are around in the first place. You'd think if sexist attitudes of men in a field really had such a huge impact on whether women wanted to enter the field or not, women would rarely go into medicine, law, or finance, but over time, they've flocked to each of them in much greater numbers than they have to programming, putting up with tons of abuse in the process (don't get me started on finance, oh, the stories I could tell...).
Not that it matters when sexist crap comes up - it's wrong, full stop, and if we really want women to enter the field we are right to make every effort to stamp it out.
I'd just be wary of accepting too easily that this is the whole story, or even the most important part of it; it's certainly a piece of the puzzle, but I find that I've got to squint harder than I'm comfortable doing to imagine that it really makes everything else fit together. [edit: just to be clear, I'm not saying that you or anyone else specifically claimed this here, but it's a common enough sentiment that I'm addressing it anyways]