Also, after getting girls interested in programming, one of the problems is how to keep them in tech. Currently, over 40% of women leave tech mid-career, which is more than double the quit rate for men (https://keepwomen.com/info/aboutus).
Even if the tech industry is better for men than for women, it's probably still the best industry for women in absolute terms.
Some women in tech notice this and move away before raising a family crashes their career. Some don't notice this and are forced to shift careers when re-entering the workforce. Both of these outcomes result in a high attrition rate for women programmers. I have no clear solution for this dilemma.
because they get pregnant?