The purpose and legal authority of the Code have been disputed since the mid-20th century. Theories fall into three main categories: that it is
legislation, whether a
code of law or a body of
statutes; that it is a sort of
law report, containing records of past cases and judgments; and that it is an abstract work of
jurisprudence. The jurisprudence theory has gained much support within Assyriology.
Legislation The term "code" presupposes that the document was intended to be enforced as legislation. It was used by Scheil in his , and widely adopted afterwards. C. H. W. Johns, one of the most prolific early commentators on the document, proclaimed that "the Code well deserves its name". Recent Assyriologists have used the term without comment, as well as scholars outside Assyriology. However, only if the text was intended as enforced legislation can it truly be called a code of law and its provisions laws. The document, on first inspection, resembles a highly organised code similar to the
Code of Justinian and the
Napoleonic Code. There is also evidence that , which in the Code of Hammurabi sometimes denote individual "laws", were enforced. One copy of the Code calls it a , "royal decree", which denotes a kind of enforced legislation. However, the arguments against this view are strong. Firstly, it would make a very unusual code—Reuven Yaron called the designation "Code" a "persistent misnomer". Vital areas of society and commerce are omitted. For example,
Marc Van De Mieroop observes that the Code "deals with cattle and agricultural fields, but it almost entirely ignores the work of shepherds, vital to Babylonia's economy". Then, against the legislation theory more generally, highly implausible circumstances are covered, such as
threshing with goats, animals far too unruly for the task (law 270). The laws are also strictly casuistic ("if... then"); unlike in the Mosaic Law, there are no apodictic laws (general commands). These would more obviously suggest prescriptive legislation. The strongest argument against the legislation theory, however, is that most judges appear to have paid the Code no attention. This line of criticism originated with
Benno Landsberger in 1950. No Mesopotamian legal document explicitly references the Code or any other law collection, despite the great scale of the corpus. Two references to prescriptions on "a stele" () come closest. In contrast, numerous judgments cite royal -decrees.
Raymond Westbrook held that this strengthened the
argument from silence that ancient Near Eastern legal "codes" had legal import. Furthermore, many Old Babylonian judgments run entirely counter to the Code's prescriptions.
Law report display of tablets from the
Library of Ashurbanipal. The Library lists a copy of the "judgments of Hammurabi" over a millennium after Hammurabi's death A second theory is that the Code is a sort of law report, and as such contains records of past cases and judgments, albeit phrased abstractly. This would provide one explanation for the casuistic format of the "laws"; indeed,
Jean Bottéro believed he had found a record of a case that inspired one. However, such finds are inconclusive and very rare, despite the scale of the Mesopotamian legal corpus. Furthermore, legal judgments were frequently recorded in Mesopotamia, and they recount the facts of the case without generalising them. These judgments were concerned almost exclusively with points of fact, prompting Martha Roth to comment: "I know of only one case out of thousands extant that might be said to revolve around a point of law".
Jurisprudence A third theory, which has gained traction within Assyriology, is that the Code is not a true code but an abstract treatise on how judgments should be formulated. This led Fritz Rudolf Kraus, in an early formulation of the theory, to call it jurisprudence (). Kraus proposed that it was a work of Mesopotamian scholarship in the same category as omen collections like and . Others have provided their own versions of this theory.
Adolf Oppenheim remarked that the Code of Hammurabi and similar Mesopotamian law collections "represent an interesting formulation of social criticism and should not be taken as normative directions". This interpretation bypasses the problem of low congruence between the Code and actual legal judgments. Secondly, the Code does bear striking similarities to other works of Mesopotamian scholarship. Key points of similarity are the list format and the order of the items, which Ann Guinan describes as a complex "serial logic". Marc Van De Mieroop explains that, in common with other works of Mesopotamian scholarship such as omen lists, king lists, and god lists, the entries of the Code of Hammurabi are arranged according to two principles. These are "opposition"—whereby a variable in one entry is altered to make another entry—and "pointillism"—whereby new conditions are added to an entry, or paradigmatic series pursued, to generate a sequence. Van De Mieroop provides the following examples: Laws 215 and 218 illustrate the principle of opposition: one variable of the first law, the outcome of the operations, is altered to create the second. Here, following the principle of pointillism, circumstances are added to the first entry to create more entries. Pointillism also lets list entries be generated by following paradigmatic series common to multiple branches of scholarship. It can thus explain the implausible entries. For example, in the case of the goat used for threshing (law 270), the previous laws concern other animals that
were used for threshing. The established series of domesticated beasts dictated that a goat come next.
Wolfram von Soden, who decades earlier called this way of thinking ("list science"), often denigrated it. However, more recent writers, such as Marc Van De Mieroop, Jean Bottéro, and Ann Guinan, have either avoided value judgments or expressed admiration. Lists were central to Mesopotamian science and logic, and their distinctive structural principles let entries be generated infinitely. Linking the Code to the scribal tradition within which "list science" emerged also explains why trainee scribes copied and studied it for over a millennium. The Code appears in a late Babylonian (7th–6th century BC) list of literary and scholarly texts. No other law collection became so entrenched in the curriculum. Rather than a code of laws, then, it may be a scholarly treatise. Much has been written on what the Code suggests about Old Babylonian society and its legal system. For example, whether it demonstrates that there were no professional advocates, or that there were professional judges. Scholars who approach the Code as a self-contained document renounce such claims. ==Underlying principles==