It is so intimidating to be the only girl or one of the few girls in a class. So, from the get go, girls are disadvantaged from learning how to code because they do not have a safe space to learn. Yes, I used the word “safe space” from experience, because I remember the sexually suggestive language in my intro coding classes with jokes about floppy disks and hard drives. Jokes and banter that would not have occurred in a diverse environment.
Conversely, the boys have a strong advantage or privilege with being able to learn in a class where they are with others just like them (i.e.: other boys)
It is our fault for not providing an comfortable environment where girls can learn to code.