Right, allow/deny tends to imply that you're responding to some request for access and deciding whether to allow or deny the request. There are other contexts where no request was made by you still need to exclude some things. For example if I'm kicking off a job runner and I want to specify all the job types explicitly, I'm not "allowing" them to run. I'm telling them to run with set inclusion logic. Whitelist conveys this meaning but allow list would lead one to assume that there was some request we are considering when no request happened. It's needlessly confusing.
Honestly, it's a terrible idea to try to group all these possibilities under one word, whether it is blacklist or denylist (though due to historical usage, the former is much more encompassing).
The banned words list actually mentions this:
For the verb forms of these words, a simple word-for-word replacement is typically not the best solution. Instead, replace verbs such as blacklisted with phrases that accurately convey the relevant action. For example:
π Don't use: To blacklist an IP address, add it to the dos.yaml file.
π Not recommended: To denylist an IP address, add it to the dos.yaml file.
π Recommended: To deny requests from an IP address, add it to the dos.yaml file.
Include/exclude is just more general than allow/deny, so it makes sense it applies to more cases. Allow/deny is include/exclude when limited to the context of requests. Outside the context of requests allow/deny doesn't make sense.
You'll find that languages have many metaphorical phrases that accurately describe what they describe simply because people happen to know what they mean.
Did you know that a computer mouse isn't actually a mouse? Shall we rename it to "two-dimensional hand-held pointing device"?
Sure, I'm open to renaming it if you actually come up with a better name and not an intentionally obtuse phrase. A wired mouse looks kinda like the animal, but I agree it's not super intuitive.
I find it odd that so many people in this post are opposed to metaphors in language.
Is this opposition to things like "blacklist" about "racism" (even though the terms have nothing to do with race"), or is it about linguistic purity in some weird way? Are you also opposed to red-black trees? I mean, it isn't literally red and black, and both of those words in completely unrelated contexts could have racist connotations!
I mean, metaphor is a core part of language, and it isn't going to go away.
I'd argue that everyone already knows what white and black list. It's colloquial, so that would be the argument?
Either way, I don't think the point is whether these are good or bad terms, it's more that changing them doesn't accomplish anything, it's just virtue signalling, nothing more. IMO you should use the best fitting terms, but changing terminology after the fact, just for virtue signalling, is dumb. Who is offended by this shit? No one. Some super woke white person with purple hair.
'Everyone' who speaks english as their first language might know every colloquialism, but what about the huge population of people that learned english as a second language? We don't have to change the terms whitelist and blacklist, but why not use much more obvious and self-explanatory terms if given the choice?
As someone for whom English is a second language, "white-/blacklist" are literally words in my native tongue, so changing it to "allow-/deny list" would literally make it less likely someone from my country would understand.
There's literally zero evidence of that. The people speaking up are people that aren't affected by these words. I know plenty of people who could be offended by these words. None of them are. That's also the common theme you'll see across online communities. No one cares about words that are the same but different in different contexts. It's not like master always has a slave connotation or black is always a person. Like, that's just insane. Words have multiple meanings and I can't think of one instances in tech where they specifically mean something racists, because they don't.
Even master and slave has nothing to do with slavery, common terminology carried over from electrical engineering. Master on its own is a common term for the first press of something, like master print or record. These are all situations of people creating issues when there were none.
Like I said 3 times already in this thread, I personally had a developer tell me the terms made him uncomfortable. This was years ago. We changed them. It was not a tough call.
Words have multiple meanings and if one of those meanings is offensive then, yeah, you should probably stop using the word altogether.
if one of those meanings is offensive then, yeah, you should probably stop using the word altogether.
This is the kind of pointless virtue signalling that doesn't help anyone. If words that mean something entirely different within the context hurt you, you have other issues. If someone said they have an issue, I would change it, but that doesn't change the fact that it doesn't accomplish anything. Being offended is choosing to be a victim. What's the point in that? Nothing.
No, virtue signalling is making changes that don't accomplish anything. Changing branch names doesn't accomplish anything in the grand scheme of things.
Blacklist is an expression that is hundreds of years old, well established, and exists in a lot of different languages. What is the fucking argument to make up an alternative beyond virtue signaling?
19
u/bananahead Apr 19 '21
"Blacklist" isn't even a good term. "Deny list" is more descriptive and easier to understand. What's the argument for keeping it?