How is that you're opposed to CoC _in general_?
The most common objection to CoC is that they are not enforced equally. Different classes of people get treated differently and enjoy different rights. The enforcement have no transparency and no check and balances.
To take two recent well known examples, we had during the last year the stackoverlfow controversy over the new CoC, and wikipedia ban of an admin over CoC. In both cases there were major issue of transparency and selective enforcement. In the wikipedia case there was also problem with lack of check and balances. In the stackoverflow case there was also voices raised about other common rules now being unenforced in order to comply with the CoC creating a situation where different people get enforced by different rules.
Laws can be good. Rules and Boundaries can be a positive thing. They are not all good, not all positive. It depend. Without careful process and system for fairness it is very likely to turn bad as the above examples illustrates.
Sure, some CoC rules may be not great. But having some rules written down at least indicates leaders thought about the problem.
Don't you see the absurdity of the argument ?
It includes things like:
* The use of sexualized language * insulting or derogatory comments * Other conduct which could reasonably be considered inappropriate in a professional setting
Obviously on the face of it these are extremely reasonable. The problem is that they are also extremely vague. Is it ok to say "fuck" in a comment? Or is that "sexualized language"? Can I say "this code is stupid" or is that too insulting? What if it isn't directed at anyone?
The fear is that there is a certain kind of person who loves picking people up over these sort of inconsequential rule ("social justice warriors"). For some reason they like to get into positions of power and then enforce petty rules.
I don't think that happens 99% of the time, but it does seem like CoCs encourage it and I've never seen evidence that extensive CoCs help so why bother? Just put a comment in your readme like you suggested - "CoC: Thou shalt not be an asshole."
Reasonable people will have no problem with mandating such treatment of all contributors.
Reasonable people won’t let their ego force them to oppose respectful conduct simply because it’s codified.
Reasonable people don’t believe their technical prowess entitles them to be dicks.
Seems reasonable, eh?
In either case, I suggest you stop using the internet. It mostly runs on (GNU/)Linux servers, which were strongly influenced by RMS who you probably disagree with, so none of that can be any good for you.
If you can’t contribute without being a dick, why would anyone want your contribution?
I, for one, want it because it's a contribution to open source, and I am pissed at people who feel otherwise and try framing their dumb opinion as more than just that.
Why would you want their contribution? I don't know, it's not my problem, and you don't speak for me. You don't speak for many people. Maybe you speak for a majority of the community, maybe not even that.
At the end of the day, rejecting good code because someone else doesn't like the contributor, that's just dumb and it holds open source back.
> that technical prowess exempts them from such from getting involved
What does one have to do with the other? Just because someone behaves like an asshole doesn't mean they need to be excluded from everything. Assholes can open bank accounts too, does that mean banks somehow agree with them?
My hypothesis, and I have no way of proving this, is that a substantial part (at least 20%) of the people attacking someone elses "toxic behavior" in the programming community are just pissed that they're not as good. Sorry if I'm bursting anyones bubble, but some people just suck at programming. Some people just can't deal with how someone they really don't like is better than them at the skill they identify with.