Not anymore it isn't; this goes 100X for women.
Women being paid less means they are forced to live in the crappier parts of towns: the squalor, the commute and the danger are significantly more.
When that movie "the Social Network" came out is about when I noticed it changed. It became literally overrun with sleazy easy-money landlords, big corporate entities buying up the apartments, jacking the rents, etc.
There are thousands of better cities than any one in SF bay area. Technology works anywhere, you can work anywhere. My quality of life improved 1000 percent when I left California.
[edit]
I'm not quite sure why it's so hard for readers to fathom that women being paid significantly less than their male peers would be a key factor affecting what is "affordable" to them, and thus their ability to live safely in the Bay area.
The question I was responding to was: "Is it worth it?" and my advice is that it is not. It is especially not worth it for women. Why would it be worth putting yourself in danger where all you can afford is the worst apartment in the worst neighborhood, 70-125 minutes away (each direction) from your workplace?
The golden era of opportunity in Silicon Valley has passed. The real estate factor is now baked too deeply into every facet of life there. And as long as the AirBnb model ensures that only the landlords thrive, the problem will always be bigger than the solution.