So, Vox has an article where they go in depth about what's behind the wage gap [0], and they ended up reaching an interesting observation about pharmacists:
> The wage gap for pharmacists has shrunk significantly because the profession has changed.
> In the 1970s, pharmacies were primarily independent and self-owned businesses. A single pharmacist might be responsible for keeping his or her shop open. The pharmacy would need to be open typical business hours; the owner would need to be available to do that.
> Now large chains own most pharmacies. And while you might get nostalgic for the mom-and-pop shops, you should know this change has been undeniably good for female pharmacists’ earnings.
> The majority of pharmacists are now women. And their wages have grown faster than those in other professional roles, like lawyers or doctors.
> Bigger pharmacies hired more pharmacists, and customers essentially saw the workers as interchangeable. Most patients don’t care about seeing a particular pharmacist — they just want to make sure they get the right medication.
> This meant it wasn’t important to be around 9 am to 5 pm — a shift from 6 am to 2 pm would do the pharmacy just as much good. And nobody accrued higher hourly wages for working exceptionally long hours.
And speaking of doctors, the article has this to say:
> You see this shift happening elsewhere too. Primary care doctors, for example, have shifted away from running one-person practices to joining larger, multi-doctor offices. In these situations, doctors become more interchangeable: When I go to my medical practice in downtown Washington, DC, I usually just want a doctor who can solve my problem — and I care less about which doctor is doing that.
The short version is that the Walmartization of professions has resulted in them becoming more amenable to women. If you want to correct the imbalance, a lot of programmers who think of themselves as auteurs are going to have to accept moving to a shift work model where individual professionals are interchangeable and might as well be anonymous. Startups are going to have to suck it up and accept that environments where employees are expected to work more than 8 hours per day are actively hostile to anyone responsible for rearing children (another thing the article points out: most child-rearing in the US is performed by women, even when both parents work).
[0] http://www.vox.com/2016/8/1/12108126/gender-wage-gap-explain...