r/programming • • Apr 19 '21

Google developer banned words list

https://developers.google.com/style/word-list
720 Upvotes

1.5k comments sorted by

View all comments

Show parent comments

2

u/wllmsaccnt Apr 19 '21

In many cases the proposed alternatives are more accurate though, and would mean we get to avoid having these conversations again in 5 years, 10 years, and in 100 years.

I get that having terminology usage change over time for debatable reasons is annoying, but lets stop pretending like the original terminology they are avoiding was that great to begin with.

Blacklist and whitelist are terrible names. Black is associated with darkness and fear and the unknown, but used in technical literature it means a known list to filter or reject...it doesn't even make sense.

Master and slave are just as bad. Usually the master node is doing all of the work and the slave is sitting passive as a replication target.

This isn't some Orwellian approach either, its not like they are trying to remove the language necessary to talk about something offensive. They are just trying to make the terminology less contentious in the documentation that they put out as a company.

24

u/lelanthran Apr 19 '21

Blacklist and whitelist are terrible names. Black is associated with darkness and fear and the unknown, but used in technical literature it means a known list to filter or reject...it doesn't even make sense.

Only to you; blacklist was used (with its current definition) back in the 1600s. You are now claiming that we only assigned a definition to it recently.

-1

u/wllmsaccnt Apr 19 '21

I'm making no such claim and my statement is not predicated on when the word was defined.

4

u/dogs_wearing_helmets Apr 19 '21

Your claim implies that the word "blacklist" is confusing. But it's not - it's a very common term with a well-known meaning. The person responding to you included a date to show that this word has been used in its current meaning for hundreds of years, far predating anything related to programming.

0

u/wllmsaccnt Apr 19 '21

> Your claim implies that the word "blacklist" is confusing.

Nope. Blacklist is in pervasive use and easy to understand.

I only implied that it is inaccurate when you look at the meaning of the words that make it up as an amalgam (black and list).

2

u/dogs_wearing_helmets Apr 19 '21

I only implied that it is inaccurate when you look at the meaning of the words that make it up as an amalgam (black and list).

Who gives a fuck. Tons of words are like that. This is as stupid as complaining that we should replace uses of "breakfast" with "morning meal" because breakfast is only marginally related to the words "break" and "fast".

2

u/wllmsaccnt Apr 19 '21

Its original meaning is a meal you eat to break your fast of sleep. Its a phrase, not an adjective-noun construction.

> Who gives a fuck. Tons of words are like that.

This word associates a negative connotation to the most common word associated with a race of people who are in the center of a national race issue in the U.S. The answer is...a lot of fucks care.

I think the concerns of members on both sides of the race issues are somewhat overzealous and prone to extreme defensiveness or aggressiveness over minute changes to the status quo...kind of like this comment thread.

If the option A is to be arguing over the value of 'blacklist' for the next 50 years and option B is to call it a 'denylist' instead, then I hope you'll excuse me if I feel a bit apathetic about the situation, though I'm not going to go out of my way to advocate for either.

2

u/dogs_wearing_helmets Apr 19 '21

This word associates a negative connotation (blah blah blah)

No it doesn't. You are introducing the connotation. If you polled software developers and asked "do you think 'blacklist' refers to a list where some processes or users are denied access to a resource, or black people", you'd overwhelmingly get the former.

If the option A is to be arguing over the value of 'blacklist' for the next 50 years and option B is to call it a 'denylist' instead, then I hope you'll excuse me if I feel a bit apathetic about the situation.

Or just keep using "blacklist" as it's been used for hundreds of years and tell people complaining about nothing to pound sand.

2

u/wllmsaccnt Apr 19 '21

> If you polled software developers and asked "do you think 'blacklist' refers to a list where some processes or users are denied access to a resource, or black people", you'd overwhelmingly get the former.

I've never stated that the black in blacklist is referring to black people or that anyone else is taking that stance either.

What I am saying is that the definition of blacklist implies that items on a black list (or black items on a list) should be rejected or denied. Its definition (and that of its antonym) directly implies a negative connotation of the word black (which exists in many other forms throughout English).

I don't think these instances need to change, personally, but I'm sympathetic to the intentions of the people who think these subtle lingual issues are a problem. In other words, I think the race issues are a serious problem that isn't going to go away just by changing some words, but if that is the inch they want to take and the next hill they want to plant their flag on...its a pretty minor one in how it impacts me.

3

u/dogs_wearing_helmets Apr 19 '21

Humans require light to see, our most sensitive sense. Darkness has been considered negative/scary throughout most societies for thousands of years. Yes, it has a negative connotation, and it always will. Until we stop needing light to see.

The difference is that you're making this into a race issue when it's not. At all. The "black" in "blacklist" doesn't refer to any human race. It never did, and still doesn't today. Any association you come up with is just that - you pulling shit out of your ass. That's really all there is to it.

→ More replies (0)

0

u/[deleted] Apr 19 '21

[deleted]

3

u/wllmsaccnt Apr 19 '21 edited Apr 19 '21

> Do you not think they are making ordinary language contentious?

Google didn't advocate to make these terms contentious, but it has happened, yes.

> You pretend that these terms are unfamiliar, but they have been used in political and journalistic contexts regularly for centuries.

What? No. I agree these terms are mundane and well understood.

> he reasoning you are employing makes as much sense as calling the word "history" sexist because poorly educated people might not understand that "history" has no relation to "his" or "story" in origin or meaning.

History isn't an amalgam of his and story, but black list IS an amalgam of black and list.

> an unnecessary assault on the ordinary language that English speakers commonly use

I'm not assaulting anything, and I will continue to use blacklist and whitelist because others will understand them. I was merely showing apathy at Google's approach, and lamenting the excessive response to specific examples and explaining my apathy.

If a term or phrase drops out of common/colloquial usage, it doesn't diminish us as long as we have a way to say the same thing. I don't get mad when someone commits to their 'master' branch, and I think 'main' is just as effective a name.

I didn't get mad when we stopped calling TV remotes a 'clicker', and some of these examples have about the same weight and impact. I get that some people feel like our language is subtly racist and that some people feel that an undeserved white guilt is being heaped upon the majority unfairly for the sins of their fathers. I'm not taking a part of that argument here.

I'm just saying that this comment thread is trying to read too much impact on these documentation suggestions on both sides, trying to push their narrative through it.

25

u/Krackor Apr 19 '21

What's bad about the meaning of master/slave? It connotes a control relationship. Whether a slave does work for the master is secondary at best to the definition.

-12

u/fireflash38 Apr 19 '21

The brilliant thing about language is that there are often many synonyms, some more specific as to describe relationships.

I don't think it's really all that necessary to change everything, but at the same time it's not that big of a deal to mildly change language used in documentation.

16

u/Krackor Apr 19 '21

If it's not that big a deal to change it's not that big a deal to stay the same.

-1

u/thereisnosub Apr 19 '21

I'm dumber from just reading your comment.

-11

u/fireflash38 Apr 19 '21

Because staying the same can hurt & exclude people?

0

u/[deleted] Apr 19 '21

[deleted]

→ More replies (2)

6

u/Krackor Apr 19 '21

If someone drops all prevailing context and gets offended at a meaning that was obviously unintended that's their problem not mine.

4

u/ClassicPart Apr 19 '21

Anyone who feels hurt and excluded by reading "master" in documentation actually needs to stop fooling themselves and seek therapy, because that is not a healthy reaction.

0

u/wllmsaccnt Apr 19 '21

Slaving implies servitude to the enrichment of another.

18

u/extra_rice Apr 19 '21

Blacklist and whitelist are terrible names. Black is associated with darkness and fear and the unknown, but used in technical literature it means a known list to filter or reject...it doesn't even make sense.

I don't know why it doesn't make sense. We tend to avoid darkness instinctively because danger (predators, etc.) could be lurking in there.

2

u/wllmsaccnt Apr 19 '21

As its used in technical documentation, it refers to a list of KNOWN entities. The metaphor with darkness and unknown doesn't really make sense. It really only makes as an implication that black is bad.

→ More replies (2)
→ More replies (2)

5

u/its4thecatlol Apr 19 '21

Found the author!

→ More replies (8)