Alright. Give me one planet that's been featured in Star Trek that has an all black population who aren't barbaric.
I reject the premise of the question. You're selecting the terms in order to force the interpretation you want. The point is that there are plenty of "barbaric" cultures in Trek (and your own use of the loaded and ethnocentric word "barbaric" is rather offensive in itself), so there's nothing unique about this one in terms of how it was written. Nobody's denying that there were some missteps made in "Code of Honor," but you're caricaturing and misrepresenting things for the sake of being inflammatory, and that doesn't achieve anything positive.