Preferred, or just ratio is so skewed that they married who they interacted with all the time. Men could not do that as much as the were not enough women.
In this regard women devs get added bonus of working tech. Relatively high salary and likely have higher family incomes as both partners work in high earning field. Where as male devs would often marry partners earning less.