Wrong. You're assuming that all forms of bullying are equally bad. This is patently false. Bullying based on traits that already set you apart can reenforce imposter syndrome. Specifically in the case of programming, a woman in a male-only class will already feel isolated and like she doesn't belong. Being bullied with gender-specific insults is much more harmful to this persons potential as a programmer than being bullied with gender neutral ones. So addressing specifically the sex-based bullying is necessary in addition to bullying in general.