I see you’ve never been to a bar with a CS major
(probably also because you can’t get them to go to bars)
Idk, large chunk of my CS class was extroverted. They liked to party, many were in relationships and we often went for pints between lectures at the campus bar.
There ofc was a lot of weirdos and assholes around too, an above average amount, but they got outnumbered by normal dudes.
Had a decent amount of women but by the end of the 1st year like half of the class was gone and most women left. They found it boring, too technical or they were not really ready for university, same for the dudes that dropped out. There ofc was sexism, but that came from niceguys or dudebros, they exist in every field.
As for my professional life, most sexism I saw was from career managers and finance staff.