The issue of whether or not Hammurabi's laws were fair is entirely subjective and different people may have very different opinions about those laws. Hammurabi's laws were known as "Hammurabi's Code," and it was believed that a person proven guilty should suffer according to the code's punishment system.
The punishment system for Hammurabi's Code featured different punishments based on the offender's economic status and crime. The code was complex and listed specific punishments for specific crimes, such as stealing herding animals. One of the most common ways to determine whether or not someone was guilty involved placing the culprit into the river and seeing whether or not they would live. If the person drowned they were considered guilty and if they survived then they were considered innocent.