Laws should have an expiration date. Otherwise in 100 years there will be 1 million laws.
https://blogs.loc.gov/law/2013/03/frequent-reference-questio...
Perhaps a 'review' date would be more practical!
For example a case is decided based on an old law, that law has now gone, is that case no longer a precedent?
(IANAL)
/s but sort of no /s
Laws aren't clean enough for diffs.
refactoring isn't a bad idea but is quite difficult.
Laws aren't written and can't be written as exactly specified specs.
Laws are written to be interpreted loosely by human judges and applied to a bunch of difficult real world messiness. Not clearly defined interfaces and types.
Progressive at the time but kind of disgusting that no one has thought to strike it from the books in the past 50 years.