Jurisprudence philosopher Immanuel Kant formulated one influential deontological theory of law. He argued that any rule we follow must be able to be universally applied, i.e. we must be willing for everyone to follow that rule. A contemporary deontological approach can be found in the work of the legal philosopher Ronald Dworkin. Utilitarianism is the view that the laws should be crafted so as to produce the best consequences for the greatest number of people possible. Historically, utilitarian thinking about law is associated with the philosopher Jeremy Bentham. John Stuart Mill was a pupil of Bentham's and was the torch bearer
Jeremy Bentham of a chain of large workhouses. Bentham was the first person to aggressively advocate for the codification of "all" of the common law into a coherent set of statutes; he was actually the person who coined the verb "to codify" to refer to the process of drafting a legal code. He lobbied hard for the formation of codification commissions in both England and the United States, and went so far as to write to President James Madison in 1811 to volunteer to write a complete legal code for the young country. After he learned more about American law and realized