According to Wikipedia, source code is:
“any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text.”
What Kind of Code is Law?
Sure, law is code. Obviously. But what kind of code is law?
Two plus two will always equal four. That is mathematical code — the kind of thing you can build software around. Software code is, essentially, just math and logic. A set of inflexible rules that tell machines what to do.
Ancient Greek sculptors believed they could sculpt a perfectly-proportioned male figure. Around 440 BCE, Polykleitos did it:
The Doryphoros, or Canon, is the embodiment of the Greeks’ concept of perfect male form, cast in bronze. But later Greek sculptors deviated from the perfection as outlined in the Canon (also a written treatise), treating it as a set of guidelines rather than hard-and-fast rules. They realized, I think, that “imperfections” are just as much a part of beauty as the canonical form. The resulting sculptures are, at least to my untrained eye, far more compelling. Like one of my favorite ancient sculptures, Hermes and the Infant Dionysus:
The idea of code as guidelines rather than strict rules is probably best explained by a pirate:
So if law is code, is it more like mathematical instructions, or more like what you call guidelines than actual rules (like the pirate code), or is it more like the rhyme and meter of poetry or the Canon? That is, could you plug a legal problem into a sufficiently-powerful computer running sufficiently-sophisticated software and get The Answer to that problem, or are legal problems more nuanced?
I think the answer should be obvious. Law is not math. Well, most law is not math, anyway. Even if some law can be accurately reduced to mathematical calculations, law as a whole is nothing like math.
2 + 2 = $150 Plus Attorney Fees
In law, two plus two sometimes equals four, but sometimes it is closer to 4.03, or $150 plus attorney fees, or even -5×103. It all depends on the size and shape of each two, on whether the first two used cocaine within the last 5 years, and on whether the second two told the truth when asked earlier in the deposition whether it was a prime number.
First, the law rarely means exactly what it says. If it did, we would not need courts. To every statutory provision are attached a long list of “buts” — some in the statute itself, some that have been clarified by various courts, and some not yet discovered.
Second, the facts are never entirely clear. In order to come up with correct outcomes, we need to know all the pertinent facts. That is, we have to know all the facts relevant to a particular provision of law and all the facts relevant to all of the “buts” that go with that particular provision of law. We also need to know all the facts relevant to a lot of other stuff, like related policies, the personalities of the parties involved, political realities, and more (so much more). We even have to have a strategy for the things that might matter, but that we don’t know about, yet.
This is why lawyers always answer “it depends” when asked a legal question. Because it does. Interpretations of law depend on a near-infinite string of variables‚ many of which are unknown. And, of course, there is rarely one Answer to a legal problem.
So sure, law is code. But not the kind of code that can be easily reduced to software.
Machines that Think Like Lawyers
Analyzing legal problems requires someone who (or something that) can integrate all those known and unknown variables into a cohesive legal analysis. It is hard to imagine how an algorithm could do this unless it was so sophisticated as to be indistinguishable from an intelligent mind trained in law.
Given Moore’s Law, it is not hard to imagine computers capable of this kind of sophisticated legal reasoning. (Maybe they will even be able to write poetry.) But as I have said before, I don’t think we should worry about it, because when that happens, none of us will have jobs:
It looks like you’ve got at least 4 or 5 years to find another job, but probably not much more than 15 or 20.
Featured image: “Modern cyber woman with matrix eye concept” from Shutterstock.