Some building codes are written in blood; others, they are not so much about safety. For example, the federal minimum SEER rating for air conditioners where I live is now 15 SEER, as of this year. It's a good bit more expensive than the lower SEER units and there is a perception that they're more complicated and therefore easier to break and harder to maintain over time.
Similarly, the 2021 IRC now requires a surge protective device at the service entrance. This doesn't protect anyone's life, and may protect your TV or cable modem if you live in a lightning-prone area. Its cost-effectiveness decreases in areas that don't get lightning strikes.
I think it's OK for the government to establish a floor on the quality of things, as long as they do it with the understanding that nothing happens for free, everything is a tradeoff, and better things cost more. So it's generally preferable when the legal floor is mostly focused on safety (where the tradeoff to something cheaper could be someone's life or limb), but more questionable when it's for things that don't relate to safety, where it would be better to let the individual make the tradeoff for themselves.
Similarly, the 2021 IRC now requires a surge protective device at the service entrance. This doesn't protect anyone's life, and may protect your TV or cable modem if you live in a lightning-prone area. Its cost-effectiveness decreases in areas that don't get lightning strikes.
I think it's OK for the government to establish a floor on the quality of things, as long as they do it with the understanding that nothing happens for free, everything is a tradeoff, and better things cost more. So it's generally preferable when the legal floor is mostly focused on safety (where the tradeoff to something cheaper could be someone's life or limb), but more questionable when it's for things that don't relate to safety, where it would be better to let the individual make the tradeoff for themselves.