For those who would do away with CoCs entirely, I suggest you read the HN perennial The Tyrrany Of Structurelessness: https://www.jofreeman.com/joreen/tyranny.htm
CoCs are complex in many ways, but it's much better to have a formal process that allows people to be held to account rather than a structureless void which enables people to discriminate without the ability to challenge them to something they've explicitly signed up to.