At a previous startup, a ceo was out drinking beers with some engineers. Now this ceo is quite a nice person, so please don't think that I think poorly of him. Somehow, salaries came up and the ceo mentioned that we were all presumably doing pretty well. Then one of my engineer coworkers mentioned he was paying $2300 or something like that in rent for a small one bedroom near Valencia and 20th, and I said my gf and I were paying $2600 for a medium one bedroom in upper haight. The ceo was utterly shocked at what rent prices were, since he'd moved to the city and bought a house nearly 30 years before. It turns out he was paying something like $1300/mo to live in a mansion in pac heights and his mortgage was almost paid off. The thing that bugged me, in retrospect, was his lack of awareness of one of the primary drivers of engineering salaries: the cost of living in sf. And the impact of the city being actively hostile to tearing down a lot of the pretty crummy housing we have and building up.
edit: not to mention, if you perhaps want to own, $500 - $600K in most of SF is not exactly living in luxury. If you're near real public transport, ie bart, it's a small one bedroom and if you resign yourself to a crappy commute or driving it's a lower end two bedroom, 700-1100 ft^2. Further, you'll pay $1.1k per million dollars of value per month in taxes, so for a $600k house you're giving the city nearly $700/mo for forever.