I can assure you the sexism doesn't change when you stop wearing skirts and start wearing pants. I speak from years of experience. And honestly, as a man, you don't have to even think about whether what you choose to wear would suddenly get you treated as if you were a vapid teenager, or a toddler. You do not have to make a choice about what you wear in order to avoid getting a keyboard snatched away from you by a member of the opposite sex who assumes you are stupid because of how you look.
If anyone ever wonders why there aren't more women in tech, you don't have to look much further than these comments to understand. I am a proud, strong fighter and I have been a successful tech CEO for years. But even I grow weary of battling these types of comments so often.