Two issues. First with the theory itself:

> Consider the medical field. Those used to be very much male-dominated, but nowadays, there are more women graduating out of med school than men, and AFAIK, under a certain age, most young doctors are female. Women are also going into law at a higher rate than they are in CS.

To look at multiple fields that used the exact same statistics and arguments to justify their gender gaps, and that have since been proven wrong, and to argue that CS/STEM is the one field where that's never going to happen -- is just a wild leap in logic to me.

There is, of course, some decent research on infant preferences. How that relates to abstract code is an exercise left to the reader. But it should give you some pause that after the doctors pointed at infant preferences and said, "that's why there aren't women doctors", and after the lawyers pointed at infant preferences and said, "that's why women don't want to be in high-stress environments", and after both of those fields were proven wrong, you're now using practically the same arguments verbatim and claiming that this time the link is real and not just projection.

----

Secondly though, I want to talk about the overall context of the conversation we're having. The idea that sex differences contribute (both socially and biologically) to different experiences and development is not what this debate is about. The criticism of of biological explanations for gender gaps is not a denial of biology, it is an assertion that biology on its own is not sufficient to explain current gaps.

So I want to push back on the inevitable claim that always comes up in these threads that this is a fight over whether biology is real or whether sex can possibly have an impact on preferences. If that's what the claim was, we probably wouldn't be having this conversation; biological differences between sexes is a completely uncontroversial idea even in the majority of feminist circles. Equality activists are not against looking at biology as part of their research into gender gaps.

What proponents of biological want in practice is not acknowledgement that biological differences exist, but a denial that other social differences exist. Look over this thread; what are the actual arguments that are being made?

> Just as men are less likely to be nurses/grade school teachers, they don't play to each sex's strengths. And that's ok

> Politics are preventing us, as a species, from properly understanding ourselves.

> There is everything about nursing that is gender specific. Men are interested in things, women are interested in people

> Unfortunately HR departments just look at the employment statistics and decide that the numbers need to be 50/50, for some reason

The overwhelming sentiment I see every time I get into one of these conversations isn't "biological differences exist", it's "gender gaps are fine because biology exists, and we shouldn't look into the social aspects because biology is a good enough explanation."

Maybe you're not in that camp. If not, then I apologize, I don't mean to just lump you in with other commenters. But I think it's short-sighted to look at fields that by your own admittance have seen large demographic shifts because of social changes, and to argue that the people suggesting that Computer Science might have similar problems are being unreasonable or denying that sex exists.

If anything the situation is the opposite; we know, very observably, that culture shapes interest during early development. If we can have a conversation about equity while acknowledging that sex exists and has physical effects on people, we also should be able to acknowledge that culture exists without people immediately bristling and complaining about "politics".