This is a good question, and I think you made all the right moves with your actions:
- You left the explicit words out;
- You asked a question on Meta as to whether they're acceptable or not;
So, let's discuss that.
Are explicit words allowed in a programs source code?
This is the first question you ask: are explicit words allowed? That's a very relevant question, but it bears two subquestions:
- What determines if a word is explicit?
- Is the word necessary?
The answer to 1 is subjective, there's no formula. We know of a few general answers to that question, but there are a lot of words that are subject to interpretation.
In general, if the word is plausibly explicit (think the major four-letter words starting with f, s, etc.), I would start thinking about part 2. If the word is absolutely necessary, then there might be other possibilities.
Your question requires an explicit-word dictionary, so they're required, and necessary. So how could we put them in your question?
Some list of explicit words:
this would be our list of stuff
We can use a spoiler tag to hide them, and make a clear notation that there are explicit words embedded, the syntax for this is:
>! ...
This offers the best, in my opinion, degree of inclusion and protection. It makes absolutely certain that you took consideration for the potential severity of the language, and acted accordingly.
#But, there's a limit!
But, there's a limit!
Here's the thing: there are some words that we ought not share, period. Your list might include some racially- or sexually-insensitive language. I won't name them, but I think we all know what some examples are.
###What do we do about those?
What do we do about those?
I'm not a big fan of racially- or sexually-insensitive language, even if it's in earnest. If your code relies on the use of a degrading term, I'm not against saying "it doesn't belong here."
Everything has a limit, and I'm Ok with drawing the line at terms that are commonly assumed to be used to attack someone based on their:
- Race / ethnicity / cultural background;
- Sexual orientation or disposition;
- Religion or religious beliefs;
As an example of each of these, if you're using a term that attacks someone because:
- They are black, hispanic, or another marginalized racial group;
- They are categorized under the LGBTQ+ group (that is, lesbian / gay / bisexual / transgender / queer / etc.);
- They are Christian, Catholic, Jewish, Islamic, etc.;
Then keep it off this site. Either remove it from the question, or don't post the question.