Re:German parliament votes as a Git contribution graph
by harvey9 on Tuesday March 25, 2025 @03:54AM
(#43468894)
Might work in some systems but England has Case Law stacked on top of statutes. That's tricky to turn back into code.
Re:German parliament votes as a Git contribution graph
by masklinn on Tuesday March 25, 2025 @04:02AM
(#43468930)
Case law is basically monkey-patching (or wrapping / decorating). It’s part of the running law but does not modify the law itself in—source.
Re:German parliament votes as a Git contribution graph
by harvey9 on Tuesday March 25, 2025 @11:13AM
(#43472337)
I had thought the goal here was something more than just 'track changes', which legislators could do in Word
Re:German parliament votes as a Git contribution graph
by throwaway290 on Tuesday March 25, 2025 @07:01AM
(#43469833)
> They wouldn't be necessary if version control would be used for laws.
So a country only needs to rewrite all the laws to adopt versioning, cool.
In reality both have can be used, commits to see what changed by whom and wordings that says what changed
Re:German parliament votes as a Git contribution graph
by plextoria on Tuesday March 25, 2025 @07:17AM
(#43469920)
> So a country only needs to rewrite all the laws to adopt versioning, cool.
No, they only need to start using versioning in order to adopt versioning. Think of an "initial git commit"
Re:German parliament votes as a Git contribution graph
by globalise83 on Tuesday March 25, 2025 @08:22AM
(#43470361)
"Grundgesetz MVP commit"
Re:German parliament votes as a Git contribution graph
by jxramos on Tuesday March 25, 2025 @01:07PM
(#43473532)
I can imagine these "relative text patches" could just commit as is written but could be committed with a corresponding metadata and referential locations array backed by some kind of encoding that lands in the same commit. That would unlock a visualization tool that could render a strikeout for the earlier precedent legal text or something like that in whatever way the modification applies.
I actually think version control is an absolute necessity for laws.