Before the Code of Hammurabi was written on a stone pillar for all to see, laws were held in peoples’ memories and transmitted orally. Why would a written legal code be an improvement over an oral set of laws?
A written legal code would be am improvement over an oral set of laws because citizens may forget laws, depending on how much there are. Having them written, where everyone can read it, may help them better understand and remember the acts/laws.