Programming though attracts all sorts of introverted guys with lacking social skills and a bad track record with relationships (in school etc).
(And to prevent knee-jerk responses, I don't mean that everyone or even most are like that. Just that a lot are like that, which has even made it into developer folklore and is a well known stereotype with basis in reality).
The kind of person who would comment on a woman's developer presentation that they "masturbated watching the video of her presentation" (!!!).
Other industries, such as banking, tend to attract other kinds of people (more jock-ey, or "in-crowd"), which have other issues (more sexual assault, rape, entitlement, etc).