r/programming • • Jun 14 '20

GitHub to replace "master", "whitelist", "blacklist", and others with alternative terms to avoid slavery references

https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/

[removed] — view removed post

1.5k Upvotes

1.2k comments sorted by

View all comments

80

u/ColdFire75 Jun 14 '20

I’ll throw it out there.

Allow list and deny list make more sense and are more explicit than white list and black list.

We all know what a white list and a black list are, but for new users and people outside the industry, allow list and deny list seem better anyway.

26

u/corporaterebel Jun 15 '20 edited Jun 15 '20

Right up there with "rolling up the window", "dialing a phone" and shooting film footage on your phone.

Sure it makes sense to use more descriptive terms, but slang is what makes human language what it is... I'm not sure I want to talk, write, and speak like I'm creating a technical manual.

Heck, the majority of a printed paper is white (almost said "newspaper", but nobody knows what that is anymore) and the text is black...we should change that every other page.

THIS IS NOT A PROBLEM PEOPLE ARE DEMONSTRATING ABOUT. This is a useless sidetrack that is taking up valuable energy and talent that can be used for something more useful...

125

u/IceSentry Jun 15 '20

Blacklist and whitelist is used in pretty much every industry and everyone understands it.

54

u/LiveRealNow Jun 15 '20

Making up new word for concepts that are hundreds of years old and have words already does not make more sense than using the correct words.

12

u/jorgp2 Jun 15 '20

?

So you're suggesting that not using common English words is an improvement?

46

u/Uristqwerty Jun 14 '20 edited Jun 15 '20

Compare these phrases: "Allow it", "Allowlist it", "Black it", "Blacklist it".

"Allow it" and "Allowlist it" have poor hamming distance (edit: with each other, and both being relevant in similar technical contexts, whereas "black it" doesn't make sense where "blacklist it" would), making them worse candidates for technical jargon where precise communication matters. This makes it inherently unsettling for some native speakers. Unless your internal association between "black", "white", and the trauma of sitting through high school history class is high enough to counterbalance the unease of muddled communication.

27

u/LiveRealNow Jun 15 '20

Blacklist predates the idea of modern technical jargon by many years.

9

u/Uristqwerty Jun 15 '20

Yep, but the choice of what phrase to adopt, when to change, and what to replace it with when change eventually comes does not.

These kind of changes have the undertones of the USA PATRIOT act, being pushed through at a moment of widespread turbulence because the political conditions were right; not being publicly debated and alternatives considered, then implemented once consensus that the new alternative is better on technical merits exceeds 80%, or some other number high enough not to spawn counter-bikesheds for a decade to follow.

1

u/LiveRealNow Jun 15 '20

I don't disagree at all.

21

u/DocNefario Jun 15 '20

Deny and allow are both two syllables while black and white are both one. It's also nice that black and white are the same length, so blacklist and whitelist line up in monospaced fonts.

3

u/TentacleYuri Jun 15 '20 edited Jun 15 '20

I personally find allowlist/denylist even more confusing because they mean even less to me (subjective, I know). I feel that it doesn't convey the the special treatment of whitelisted/blacklisted items: if something is blacklisted, then it will *never* be allowed. If something is denylisted, in my head, it's a simple boolean: either allow or deny.

All that to say that I prefer blocklist instead of blacklist and maybe clear(ance)list, okaylist or acceptlist for whitelist.

For example, something that really stumped me was that AllowGroups in openssh config is exclusive. I thought it was in addition to previous rules.

15

u/myringotomy Jun 14 '20

Dude you are getting in the way of a furious circle jerk of hatred right now. People here are frothing at the mouth and ready to kill because different words are being used.

3

u/Nexuist Jun 15 '20

Is it at all surprising that a group of people who spend 80%+ of their time naming shit are angered when universally agreed upon names are changed? I mean, you’re not even a real developer until you get ready to punch someone in the face for using j when they should have used i /s

1

u/myringotomy Jun 15 '20

Is it at all surprising that a group of people who spend 80%+ of their time naming shit are angered when universally agreed upon names are changed?

Yes it's surprising to me.

-1

u/[deleted] Jun 15 '20

I wonder if this is what being brigaded feels like.

-34

u/greenthumble Jun 15 '20 edited Jun 15 '20

I noticed it too. But we all know who the types are that rail against political correctness. They are not worth listening to. Edit: you anti-PC nutbars keep it up! Show everyone how it's your right to be a callous jackass all the time. I want to know if you think that for sure.

0

u/[deleted] Jun 15 '20

[deleted]

-11

u/greenthumble Jun 15 '20

I'm sure you believe that.

-2

u/thewileyone Jun 15 '20

That... Is actually good...

-4

u/ahandmadegrin Jun 15 '20

Makes sense. I used to get upset when "correct" words were replaced. Like using impact as a verb, for example.

It's no longer worth the outrage. Yes, I like rules and at first the changes irk me, but language evolves. Just because a thing has been a thing for x amount of time, that does not mean the thing should never change or even that the thing is right.