My assumption based on light historical reading is that societies functioned well without codified laws for millennia, and even millennia after the invention of states much of law wasn't codified, it was essentially negotiated ad hoc. I mean Magna Carta was 1215 right?