I’ve long argued that most, if not all laws, should have built-in sunset provisions. It’s a lot easier to let a law expire than it is to repeal it, especially criminal laws for incredibly stupid crimes. For example, Massachusetts still has laws against Blasphemy and Fornication.
Neither of these laws is constitutional, and neither has been used in decades, but they remain because no one wants a challenger to run an ad that says the representative or state senator voted to make fewer things crimes.