Having said that, the women I’ve taught are always far better than the guys.
I suspect that’s the same reason all the women I’ve worked with in software development have been really good at their jobs: the ones who wouldn’t have been aren’t there at all in the first place.