A charitable interpretation of his comment: many women suck, just as many men suck. People who suck are treated as bad programmers. A subset of the women who are treated as bad programmers assume it is due to their gender rather than their poor ability.
An equivalent claim which I made in real life:
Steve, an old school NY boy with a south-asian family: "She dissed me because I'm brown."
Me, another old school NY boy more Italian than anything else: "She dissed you because your a bridge&tunnel boy rather than a wealthy hipster in $200 skinny jeans. She'd have dissed me too."