Much as many of us would like to believe it, where is the evidence for this statement?
Decreeing a politically-correct gospel and punishing heretics for denying it doesn't make it true.
- Some professions requiring comparable skills (eg actuaries, accounting) contain many more women.
- There's no known mechanism or evidence to explain why women might be innately bad at programming, but there's lots of well-documented mechanisms by which women could be discouraged from joining the community.
I'd be happy to learn from evidence that contradicts this argument, but in the absence of that, the simplest explanation is that we're wasting the potential of thousands of proto-programmers.