DEV Community


Discussion on: Do you consider the term "blacklist" a "racist" term? If yes, what is the alternative?

ktkaushik profile image
Kaushik Thirthappa

Let's abolish these terms to start with -

blacklist / whitelist 👉 denylist / allowlist

master / slave 👉 primary / replica

michaeltharrington profile image
Michael Tharrington (he/him) • Edited

As well as being more inclusive — which I personally think should be enough reason to make the switch — denylist/allowlist is just plain easier to understand!

I think when folks are entrenched in tech, they forget that the words blacklist/whitelist aren't actually regularly used by many people.

For instance, I was just explaining this debate to my wife and she wondered Wait a minute, what's a whitelist? ... when I said, "Oh that's an allowlist." it instantly became clear to her.

nombrekeff profile image
Manolo Edge • Edited

master/slave -> Puppeteer/Puppet
master/slave -> Gepeto/Pinochio

gwutama profile image
Galuh Utama • Edited

primary/replica mostly only applies for databases though, whereas master/slave is waaaay more broad than that.

kerldev profile image
Kyle Jones

Secondary generally works in most of the cases where replica doesn't apply

Thread Thread
ktkaushik profile image
Kaushik Thirthappa

Absolutely. primary / secondary it is then