I appreciate the irony, but it doesn't have to be that drastic. In Australia we have the Law Reform Commission, which looks to gradually make laws better. Is the legal system perfect? Far from it. Does it get political? All the time. Is it getting better? I would argue yes, slowly.
To your analogy, it's possible to incrementally improve a code base. It's also possible to stop it getting worse.
You would be hard pressed to find a union that represents prison guards which has supported ANY kind of political reform to laws. Legalization, even changes to traffic laws, prison guard unions and their members almost exclusively vote against.
No no, the claim was that there are people who are trying to "make laws better."
No one disagrees with doing that. They might disagree on what "better" means, and in particular better for whom. But 95%+ of the disagreement on these is not because one side is evil and the other is not.