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

Show parent comments

39

u/vantharion Jun 15 '20

Microsoft has internally discouraged the use of whitelist vs blacklist for a while now. I'm not surprised to see Github make this change.

47

u/beefsack Jun 15 '20

We've found using forms like "allow" / "deny" (or "block" depending on the case) tend to be less ambiguous for our users anyway.

17

u/[deleted] Jun 15 '20

What is the difference between “deny” and “block”, especially in the context of a list?

Is there a list of services that your software will “deny” an accusation from? That can’t be it because you’d want it to be “confess / deny”. Speaking of that... why not “admit” and “deny”, or “allow” and “forbid”?

We’ve now turned a widely used, completely innocuous term into 14 competing terms for the same technical action.

7

u/[deleted] Jun 15 '20

What is the difference between “deny” and “block”, especially in the context of a list?

In firewalls there is usually difference between "reject" and "block/drop"

"Rejects" sends an ICMP packet telling host their packet got rejected, "drop" just drops it with no feedback

1

u/lal1212 Jun 15 '20

I think white/blacklist are much better terms since they describe a well known context, so the argument about a better word comes a bit too late...

-5

u/ms770705 Jun 15 '20

Just a warning: "blocklist" (apart from also meaning something different in computer science, namely a "list of blocks") sounds a lot like "blacklist", so it might very well be the subject of the next discussion...