I don’t know what the ratio is today, but I doubt they are the majority; what changed that?
Good question. But in the places I worked, women have been heavily represented in IT since the early 80’s. The money drove a lot of men into the field. It still does although I see a lot of people falling out of IT. My neighbor is surfing his mother’s couch after getting a Masters in Programming. He just couldn’t hack it.
You have to love coding to do it. If you don’t, it will eat you alive. You have to get excited about learning new things because they are coming whether you like it or not.