Legislators have the same incentive structure and responsability over their product as pet poodles. The very least the public can do is rub their nose in it.
All laws should come with a expiry date by which they must renew their mandate through a parliamentary vote or automatically cease to be effective.
If a law is useful and necessary, renewing it every 10 or 20 years should be little trouble. If it is bad, unnecessary, petty or simply nobody can even remember why it was passed… it should not be on the books.