This isn't 1 person writing 1 law who gets to iterate on it until the bugs are gone. Bandwidth is not exactly abundant here.
Before suggesting lawmakers somehow have enough bandwidth to improve every law into perpetuity, I feel like it might be an interesting experiment to try writing software the way law is written (through democratic voting on "amendments" to the codebase, with filibuster and all that fun, with similarly limited ways to kick people out of the group), and to then observe how many times you can feasibly go back to the drawing board to remove bugs and "write better code". And then calculate how much bandwidth you would need if you wanted to produce N products every year, instead of just 1.
People with Lawyber-brained legalism on the brain are the ones who write those poorly written laws.
“Don't struggle–only within the ground rules that the people you're struggling against have laid down.”