In order to study CS at my school you had to take some fairly advanced Math classes including Calculus and Linear Algebra, which are not easy unless you are comfortable with Math.
My SO codes but hated anything girly from a very young age and was constantly told she wasn't acting ladylike.
Those experiences are from prior to encountering the effects from the rest of society. My SO was diagnosed with ASD as an adult but has had elevated testosterone levels found at a young age. So just personally it feels weird attributing those things to upbringing.
And Sweden where I am really shouldn't have as few women in tech as we do either if it was based on gender roles in upbringing.
I wish. I have a baby and the most important question is allways: a boy or a girl? (Not: healthy? Everything allright? Hard birth? (Yes, allmost, yes))
And clothes, very important the distinction between boy and girl. We got a lot of second hand clothing ... and people did not understand, that I really don't car about the color shades. They should be comfortable, good to the babyskin and fitting for the weather. And good looking, yeah, that comes afterwards. But underlining that it is a son? Why?
The reality is pretty much the opposite, with Eastern Europeans, Indians and Chinese being overrepresented in software engineering and higher degrees in STEM subjects.