That's true. I was taking "racist opinions" to mean "incorrect race-related beliefs that favor one group over another". If people who couldn't do math were just as good at programming as people who could, and you still screened applicants for math skills, that would be a jerk move. If your race- or gender- or whatever-group-related beliefs are true, and you act on them rationally (e.g. not discriminating with a hard filter when there's only a small difference), then you aren't being any kind of racist by my definition.
ETA: did anyone downvote for a reason other than LocustBeamGun's?
(ETA: I didn't downvote, but) I wouldn't call gender differences in math "small" - the genders have similar average skills but their variances are VERY different. As in, Emmy Noether versus ~everyone else.
And if there is a great difference between groups it would be more rational to apply strong filters (except for example people who are bad at math, conveniently, aren't likely to become programmers). Perhaps the downvoter(s) thought you only presented the anti-discrimination side of the issue.
Here's the new thread for posting quotes, with the usual rules: