Earlier quoted context omitted.
The difference being, being a doctor is (in many parts of the world) both more challenging/competitive and better paid than programming. You explain with discrimination (which was real in the 50s according to most evidence we have) what is in parent's case better explained as a difference in motivation (making a five-figure salary by being responsible for humans is more attractive to the average US woman than being r…
> You explain with discrimination (which was real in the 50s according to most evidence we have) what is in parent's case better explained as a difference in motivation (making a five-figure salary by being responsible for humans is more attractive to the average US woman than being responsible for modules of code is). and your evidence for this is ....? > , and there is a multitude of reasons that are more plausible…
> Only when the job became prestigious were they pushed out by men. I clearly recall the days when programming was thought as the domain of the pimple-faced nerds with the thick glasses, way before the brogrammers and other "cool" nerd types came along. Law and medicine are all more prestigious and by your reasoning would have pushed out women even more. So there's something you're missing, and actively missing it even when reality waves its hand to you.
Just one google query gives something more nuanced, such as this: https://austinstartups.com/the-tech-gender-gap-a-2016-progre... which rightly points out that the percentage of women was rising in CS as much as in medical and law until around 1985. And if you look at the graphic here https://blogs.sas.com/content/sascp/2018/12/05/booming-enrol... you notice that it's not women leaving the field, it's more men coming to CS while the number of women stays the same until they leave in troves at the following bust cycle.
You keep using evidence from the 50s (i.e., 70 years back) as explanation of today's state of affairs, but the evidence points that the 50s don't tell us anything about why we don't have more women programmers. Instead, ask why women got pushed away by post-bubble insecurity and maybe (and this is interpretation) some stigma that we as CS people have that pushes out women.