Code Duello is a pretty ancient concept: <a href="https://en.wikipedia.org/wiki/Code_duello" rel="nofollow">https://en.wikipedia.org/wiki/Code_duello</a><p>While duels have been outlawed, I don't think we have really replaced the necessary role they play in managing disputes and incentivising a self organizing social correction in a way that rewards virtue and has consequences for dishonesty.<p>Ironically, the main thing that maintained social order in small groups up until recently was humor. It wasn't mere cutting remarks either, it's a subtle understanding of power dynamics in a group that lets humor equalize and revert to shared values. The unspoken rules of humor were pretty close to those of Code Duello, particularly regarding punching down, and accepting when you had been beaten - then moving on once order was re-established.<p>Duels provided a similar reversion to a shared understanding of order and values. These rules are still around in an implied way, where boys involved in sports or group activities tend to learn a variation of them, and someone who fights without an understanding or respect for them is considered just a criminal and not trustworthy, tough, or masculine.