I've never understood why South San Francisco is quite so neglected while commuter cities like Redwood City do so well. It's literally the next-closest town, why is it not super-expensive there?
For the neighborhoods of southern San Francisco, you are looking at historically highly industrialized areas. White collar workers didn't want to be there and ended in San Mateo County.
For South San Francisco, I disagree on it being neglected. Sure it isn't as rich as Redwood City, but it is a far cry from say East Palo Alto or Richmond. (You can also note the many luxury apartments and high-end office buildings popping up). Like southern San Francisco, it historically was hurt by being, as the San Bruno Mountain sign reminds everyone, the industrial city.
While westerlies may have caused dislocation during a certain time period, most major cities have experienced other events which have also had a significant impact on their demography.
In other words, the most northern parts of the island are also the most eastern, so it currently fits the pattern quite well.
While easterlies may have caused dislocation during a certain time period, most major cities have experienced other events which have also had a significant impact on their demography.
Same for the non-San Jose parts of Silicon Valley: Palo Alto and Mountain View are ritzier than neighboring Sunnyvale and Santa Clara. I don't know enough about San Jose itself to say, nor about San Francisco. In SF, though, it seems like many of the ritzier areas (Pac Heights, Marina, Marin) are to the north.
NYC is a notable exception: Harlem and the Bronx are in the north, while SoHo, Tribeca, Greenwich Village, etc. are all in the south.