I'll be lucky if I can afford a single family home after 20 years of software engineering in the US. halfway there now, we'll see. Moving to a senior position has helped but I feel like a lot of people forget that the compensation in SV is not normal in other places.
SV is an outlier in both income and housing costs.
Here in DC metro, a mid-career developer should be able to afford a home without much trouble. Many of the best jobs are well outside the city (Tysons to Ashburn corridor) where housing costs aren’t terrible.