Like the laws of today, Hammurabi's Code lays out specific punishments for specific crimes. The modern legal code does not differentiate between social class. Like today's legal system, Hammurabi's Code lays out the way that trials are conducted. It spells out the requirement for witnesses and impartial judges.