On the (sad) bright side of living in the Bay for awhile, if you ever move anywhere else, housing will probably all look like a bargain!
Purely personal anecdata, of course, but it does work for me, and the quality of life is (for me, anyway) much higher.
If you're single or duel (tech) income with no kids, the Bay wins almost always.