Sometimes, context is a thing. In terms of raw abilities, there is very little (apart from a few very specific biological functions) that cannot be done by both men and women. There might be some statistical variance, but in practice you are much better off evaluating individual competence only.
However, there are specific experiences that only some people will have had, and those can lead to perspectives differing between people.
Friend of mine once happened to go to lunch with some coworkers, and by coincidence ended up in a car in which she was the only white person. And so when the topic of conversation naturally turned to "places where the police pull you over and claim it was random", she was supriseed to find out that she had never experienced this, but that everyone else in the car had an actively-maintained mental map of the locations of "random" police stops. Because they had to assume that if they drove through a few of those, they would get pulled over at least once, and it would add a few minutes to how long it would take to get somewhere.
This isn't a reflection of some kind of innate quality people get from their skin color that affects their ability to remember where the cops do or don't "randomly" pull people over, but it is a case where different people will have very different experiences.
Men and women are both capable of being comparably-skilled programmers. But skill at programming is not the only useful thing in software development; awareness of the experiences users will be bringing to the table can be relevant.