The opposite of this is the windows effect (aka the php effect), where you get disrepected for using a particular technology regardless of how talented or productive you actually are with it.
Also, I imaginge "lording it over others" may not be the response of a female with skills. Its a male thing. Isn't that her point?
Just wanted to add my related $0.02 rant: Everybody bashes PHP for its associative arrays, but when Python finally implemented the same data-structure (ordered dicts I think they are called) a long, long time after PHP first got them, then everybody started congratulated themselves and saying "what a nice idea the Python guys implemented!".
A hashmap with mixed keys is hardly the most practical choice for an all purpose primitive data structure.
Python already has proper arrays where you might have some chance of fast sequential access. The ordered dict or whatever is just another tool in the box.
Basically, PHP makes you do shit like this: http://www.php.net/manual/en/function.is-array.php#102652
This kind of thing is trickier in places like HN though, because a statement is only showing off to people who already have the knowledge. There are millions(?) of people reading here, so statistically most of them probably wont know some obscure piece of knowledge about the problems of the key hashing function under random access in numerical PHP arrays. It may be showing off to the couple of people actively engaged in the debate, but to everyone else its educational.
That's most of the reason I come here, to be honest. Crumbs of insight casually discarded during the debates of much cleverer people.
But it has nothing to do with the gender issue. These "jerks" will be jerks to anyone who isn't at their level, male or female - I even caught myself sounding a little condescending today during a group study session.
Women, I think (someone tell me if I’m full of it here) are brought up differently—they are trained to see guys who act this way as threats, and to avoid them, or at least keep their guard up around them. (There are obviously women who act rudely to other women, but it tends to be a different kind of rudeness.)
When guys don't respect social boundaries it can be frightening. Don't be so quick to assume this fear is trained- I didn't start to react with fear until a handful of upsetting experiences. It can be justified fear.
A man who treats women as if their main purpose in life is to be his potential girlfriends has a different problem, and I think most men who act like this are not so much socially awkward as socially mistrained.
Nevertheless, we have very very few female majors.
Consider a person who plays, for example, a multiplayer game against the same three real life friends on a LAN, and concludes from his performance -- domination of his friends -- that he is an astounding player. Given his knowledge about the game and the skill of other players, it makes sense for him to make this conclusion. However, were he to play online, he would realize that his skills are paltry compared to the those of the best online gamers.
Here, Dunning-Kruger is manifested in this gamer's overconfidence based on lack of knowledge, and lack of meta-knowledge (he doesn't know the importance of what he doesn't know). It's based on a genuine mistake in his assessment of his skills, not necessarily arrogance.
The Dunning-Kruger effect doesn't necessarily imply a narcissistic personality (or any other personality traits); overconfidence in ability is something we are all vulnerable to.
I think if you "master a language", you don't get lumped in with those who know "a little bit". I think you're just talking about arrogant people in general who think that because they know X, they can berate those who don't know X.
I don't think this is at all unique to CS, or even to technical fields: it's the Dunning-Kruger Effect all over again.
Regarding women in CS, it would go a long way in helping to simply treat them as people. As an IRC op, I find it sickening how often, particularly in online programming communities, people hear the word "female" and start acting like utter idiots. This results in both unwanted negative and positive attention: but furthermore, continually reinforces the idea that a female is some sort of odd, unusual creature deserving of special study. This doesn't merely bother the victims -- it also helps convince them that they're the odd one out, and that they don't belong.
This doesn't have to be blatant sexism -- it can simply be comments like "oh, you're a girl?!" when someone uses a female pronoun. I've seen this happen dozens times in a single channel in response to a single person over the course of a few months.
Some of you may be thinking that this is just a problem for 4chan and Reddit. But the interesting thing that I've noticed is that the incidence of this problem doesn't seem to be reduced much with more professional communities, or in more mature environments.
Rather, the only statistic that seems to be consistently correlated with these kinds of problems is the perceived male/female ratio in a community. The instance the perception gets created that "this community is almost entirely male", problems begin to occur. This seems to be a constant everywhere from programming communities to writing communities to roleplaying communities to fandoms.
If you're male, you've probably been responsible for some of this at some point. Maybe it was just one comment. I mean, what harm could one comment do, right? But a hundred people making "just one comment" stops being a joke quickly -- and instead makes half of the smart aspiring programmers out there feel unwelcome. This is of course self-reinforcing: by making women feel unwelcome, the "almost entirely male" perception is perpetuated.
(An interesting question might be why the reverse problem rarely exists in communities perceived to be almost entirely female.)