@Kotatsu
One's sex (or race, or sexuality) is not a quality to determine who deserves to be in a senior position. Diversity box ticking does more harm than good.
True for an individual, but for a company, actually you're wrong - companies with a diverse senior management team perform better - although not as a 'box ticking' exercise, but as actually seeking out good candidates who happen to have characteristics the current team is lacking.
Plus of course once you have that diverse team, it's easier to continue to recruit diverse employees - I know that when I walked into one computing lab on an interview, and there wasn't a woman to be seen (until we went to the canteen and they were there serving coffee), it was certainly a factor in choosing a different job where there were other women in the office, doing similar jobs to the one I was applying for.
It's not the 'diversity' of the senior management team that makes a company perform better. Or 'diversity' of staff for that matter.
Rather - companies which are better to work for automatically have diverse candidates because they have a company culture that's supporting and accepting of differences!
That's why the push for diversity is the wrong way around.
In my experience - teams full of young, male programmers who all have similar interests. Not always full of straight white males either (plenty of gay men, or South/East Asians) but all with the same interests, break time convos about video games, all went out to the pub after work etc etc. No family responsibilites. All happily working as much OT as possible, all the time.
They weren't being anything -ist (ageist, sexist. what have you) but the team was full of the same kind of person. Age and gender was a proxy for their interests. A woman interested in the same things, or a 50 year old grandfather with the same profile would have fit in perfectly. (not saying that there aren't women interested in these things but you get my gist!)
Companies which have good diversity stats have teams with different sorts of people. Flexible working and team building deliberately to suit chosen the team. One for example had a volunteering day during work hours, in my team we all go for a meal. My last two managers are very careful to ensure that every member of the team is included in the conversation and a fair number of general topics are included (like what music people listened to or what they saw on TV). Basically there is a lot of conscious culture building , an effort to find common points that unite us. I'm the only woman but have never felt left out because everyone doesn't act all MENZ. Of course people can talk about their interests but there isn't a common one that dominates conversation to the extent that others feel left out.
Conversely... the one all woman team I was in... everybody talked about their kids all the time and I felt quite left out.
The problem?
All of this culture building takes TIME and EFFORT. and MONEY. and a long, long time... that companies don't want to invest in. They want those diversity states to look good. Like now.
So they make a big fuss about recruiting senior women, etc etc, being 'female friendly' but don't make the structural changes necessary to retain them.
Once company proudly displayed it's diverse hiring stats but neglected to mention the female retention rate. About 30% left within a year citing a lack of flexible working in practice. I know because I was in the working group.