A good 1 bed in new luxury highrise in SF can be had for ~$4k in the current market (2019), which is affordable on a dev salary (I live in one).
That's 50% of your salary(after taxes) if you're making 140k, but 1/4th of dev salaries in SF start above that.
https://stackoverflow.com/jobs/salary/results?l=San+Francisc...