I've lived in newer homes over the last couple of decades. It's awesome to have smoke detectors in every room, grounded outlets, GFCI outlets, well-insulated windows and exterior walls, firewalls, plenum-rated cables, safe and easy-to-maintain plumbing.
The market would've only demanded a subset of these improvements. And the least expensive builders would've just built residences without them.
Also, newer homes are amazing in terms of heath retention and isolation. Having lived in buildings from before the war with either none of very little isolation.or even worse, i once lived in a home with a split in the wall thanks to a WW2 bmobin raid. The crack was not an issue in regards to the structural integrity, but it made isolation mood.
It's just regulation promoting low density is bad.
Libertarians love this example to troll the statist left that the state can't be trusted to control things wisely, but I'm just happy to hope undoing these things can be bipartisan, because the real estate lobby is so strong it's needed.
But also, the point is that SF keeps changing the rules. Places that don't change the rules as often won't have this problem.