Again, we should remember that it's how she perceives situation. Removing somebody's code is completely normal if you rewrite something for reason (changing interfaces, fixing properly something in other place so that piece of code becomes unused, implementing some complex mechanism which doesn't play well with that feature so that's easier to rewrite it — there are many such situations). We all like our code, but caring about it too much is unprofessional. I removed my colleagues' code hundreds of times, they removed mine. Solution seemed nice few months ago turns out to be horrible in today's light. It's just how the life goes.
I've worked with brilliant engineers that lack a lot of real world social skills and this doesn't surprise me one bit. A pretty girl really can mess with the logical types of people that have little experience with the opposite sex.
well I've witnessed this phenomenon in the real world, so I can't discount the existence of this, stereotype label aside.
I've met the opposite as well, charming, well dressed, and physically fit engineer types who can hold a conversation with the opposite sex without any awkward vibes at all.
The awkward types seem to lack some dating experience and thus cannot discern positive/negative social cues or read body language as well.
> I've met the opposite as well, charming, well dressed, and physically fit engineer types who can hold a conversation with the opposite sex without any awkward vibes at all.
> The awkward types seem to lack some dating experience and thus cannot discern positive/negative social cues or read body language as well.
I hate replying to this, but here it goes: have you even given positive social cues to guys who weren't "charming, well dressed and physically fit engineer types"? Also, if you're only getting "awkward vibes" from unattractive guys, that might not be a problem with their social skills (at least not in the way you're putting it; charm is a social skill).
Not to mention, what does "well dressed and physically fit" even have to do with "awkward"?
Dressing well and taking care of your body are social cues, that you meet the dress 'standards' of the group (whatever they are) and that you are capable of managing your own body.
Seeing as we don't know his sexual orientation, you don't know whether he would have made those advances if she were not a woman.
And no, a man sexually harassing a woman isn't always sexist (even though I'd imagine that in the large majority of cases sexism plays a role).
Sexual harassment ≠ Sexism
What's important to discern is the reason behind the harassment. If a man is harassing a woman because he views his gender as superior to hers, or that she's nothing more than a sexual object, then that's a pretty clear-cut case of sexism. But if a man acts inappropriately towards someone because he lacks self control/tact, has poor social skills, etc. and is only targeting that person because he's attracted to them, then it's sexual harassment.