And that, right there, is my point.
That is discrimination. You being told not to go to a class, the women being hit on because the coders are desperate sad sacks.
I know how it is.. I was there. I lived this every day in school, and a still do in the business world. I was in all AP classes in Highschool, and was CS in college. I went to Michigan Technological University starting in 1991, my friend. I experienced the 3 guys to 1 girl ratio every day at the school level. Dwell on this... There were THREE women in my class (Class of '94) in CS at the time THREE. Funny enough, I was friends with all of them, and I associate that to the fact that I never tried to take advantage of them, treated them as people first, and women next. It's not that hard.
They had to deal with morons hitting on them all day, but that wasn't a big issue for them. The issue they had was that many of the men thought that they couldn't do it on their own, and were trying to show off how smart they were by asking the women if they wanted to work on assignments together by saying "I could give you a hand with that."
The issue they had was that the advisors singled them out, the teachers as well.
obTeachers: I did have one female CS instructor. Mean old broad, and she was the worst offender. She worked one of my friends so hard (Didn't have time for her during office hours, would tell her to go and figure stuff out on her own) that she left the deaprtment for a semester. I suppose she was trying to build their character, toughening the women if she couldn't break the chain.
It isn't an excuse to say that it only happens at school or that you are only talking about an educational environment, it doesn't and that environment is merely a microcsom of the real world, and it belittles how hard women in any technical industry (in life, for that matter) have to work just to prove that they can be equal, let alone accel.