As for the community, even though Women Who Code is closing, there are plenty of others.
My experience tells me that this is quite a male way of looking at things. How many times have you heard "we need representation" from women, whether it be in films or board rooms or elsewhere. They're telling us something, role models matter more to them, for whatever reason. (In general, of course.)
If we could find out why some people need role models more then perhaps they could be helped to find that inspiration regardless of there being a role model available or not.
In the workplace? Some men would love to see the normalisation of male nurses, male kindergarten teachers and the like. Perhaps they're not as loud because these jobs don't command six figure salaries?
Perhaps, given that there is a bimodal distribution of masculine and feminine traits across males and females, I could reformulate my statement and make it more precise: those that are of a more feminine expression of being might require or feel they require prior representation in order to give younger people in the same group the confidence to try for such a position. Males (in general, due to masculinity) do not, which is why they do not see the need for any representation (humans tend to think everyone thinks like them).
The real problem is in how both views could be reconciled - that of needing representation versus the more male view of acquiring position through competition (and thus implied competence). Hence, we have the DEI/affirmative action debate.
My own view is that competition should win over representation, but that everyone should be shown how they can compete effectively. Doesn't the history of sport - of competition - show us that every shape or skill can provide a competitive advantage in different contexts, so the key is to get a team to make those contexts arise more often and thus improve one's chances of winning?
In short, show girls how to compete and remove the need to patronise them as women. Maybe that's me being male, but I at once believe in merit and competition, and in women's ability to be effective in most roles (as I believe about men).
I would guess most of that comes from women seemingly really liking stuff like Dateline, murder mystery podcasts, etc.