Saying "you can code even if you're a woman" is incredibly patronizing. It was never in question.
If I started saying, "Well, I think everyone can code, even red-haired people", it'd be negatively worded against red-haired people.
Hey, have you ever heard a politician bring something up under the guise of defending their opponents?
Like maybe say "I do not believe in these allegations about my opponent being born outside the United States. And even if he isn't born in the US, it's not relevant. We should talk about his policies, not about my opponent being born outside the US."