I'm not white (or asian). Yet, I know that I'm easily better than most programmers in my peer group. This simply due to starting at an earlier age, unknowingly choosing supportive communities using worthwhile languages, and unglamorously persisting into the next level. None of which is genetically special to anyone.
However, I find that the 'white (middle-class) male are stereotypically better programmers' exists because in large part it's true. On the occasion which I find someone with a similar socio-economic background to me, they often have huge knowledge gaps and choose bad technologies because they want the money.
This doesn't mean most 'white (middle-class) male' programmers are good. In fact, the probably have largest amount of the worst because they outweigh other groups. And because of that, they also have the larger segment of skillful outliers.
On the internet no one knows you're neither white nor middle-class.