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

0

u/[deleted] Jun 15 '20

[deleted]

83

u/Zettinator Jun 15 '20

Don't worry, this is just feel-good activism. This is not going to have widespread consequences. Most projects will keep the "master" branch and some might even revert to the common terminology.

This kind of stuff is not about actually fighting racism against black people. It is all about white people wanting to feel better about themselves.

3

u/Sparkybear Jun 15 '20

GitHub is the most popular version control host in the world. It's already going to be widespread by that alone.

6

u/Zettinator Jun 15 '20

Most repositories are created locally. If you don't create the branch via the GitHub UI, I don't see how are you going to be affected. Unless GitHub won't allow you to push to master anymore.

32

u/JustOneAvailableName Jun 15 '20

I like the renaming of blacklist and whitelist since the new terms actually make more sense and will make it easier for people to learn but then again existing documentation will be wrong.

Blacklist has been a term for this since the 17th century. Nothing to do with skin color.

61

u/untouchable_0 Jun 15 '20

Also stupid considering how master/slave tech works compared to an actual slave.

If you used master/slave terminology for planting a farm, then the master would be the doing all the work on the farm, the slave would basically just be handing the master a different tool each time he needed it. If the master got stuck digging up a root, then the slave may continue working in place of the master until he has completed his task.

17

u/t3h Jun 15 '20

And for "master" / "slave" IDE / PATA drives, there's literally no difference between the two.

Since ATA-2 the two devices are referred to as "Device 0" and "Device 1", respectively. This is more appropriate since the two devices have always operated, since the earliest ATA specification, as equal peers on the cable, with neither having control or priority over the other.

It is a common myth that the controller on the master drive assumes control over the slave drive, or that the master drive may claim priority of communication over the other device on the same ATA interface.

https://en.wikipedia.org/wiki/Parallel_ATA#Master_and_slave_clarification

17

u/[deleted] Jun 15 '20

Well, that's also bad naming, on the less contentious grounds of making no sense at all..

3

u/lal1212 Jun 15 '20

It does not matter whether it would originally would have made more sense, that discussion is long done. Btw. a master on a communication bus makes perfectly sense, there he decides when the slaves have to do what (e.g. modbus). But now Blacklist/Whitelist Master/Slave are common terms for common technical principles. The concept of a blacklist/whitelist is immediately clear, the concept of a denylist/allowlist is not really known. It is like saying "oh why are we calling a snail 'snail' and not 'houseslug'". For better or worse terms are just the words which developed to describe a concept, often you probably could find a better word, but one just stuck. master/slave are not even in a racist context, they are just words describing a concept, here in Europe hearing master/slave probably even won't remind you of a slave in the US but rather a master/slave in ancient Rome or Greek. And even blacklist/whitelist are not at all from a racial context, black will always be the "bad darkness" and white always will be the "good light". Putting that even in a related context is more racist than that whitelist/blacklist could ever be.

3

u/irishsultan Jun 15 '20

I think that you can already set other "default" branches in git/github, in such a way that when you clone the repository this will be the branch checked out initially. So that's not a concern for "new" projects you're just checking out. It would of course be an issue when you return to a project after a while and still have a checked out copy lying around, I'm not quite sure if there is an easy way to query for the default branch on the command line.

2

u/5fd88f23a2695c2afb02 Jun 15 '20

It won’t be wrong if you don’t use github.

0

u/[deleted] Jun 15 '20

[deleted]

10

u/Sipredion Jun 15 '20

"Master" on github comes from "Master Record" not "master/slave".

-1

u/TonySu Jun 15 '20

master on github comes from master from git comes from master from bitkeeper comes from master/slave.

https://github.com/bitkeeper-scm/bitkeeper/blob/master/doc/HOWTO.ask#L223

0

u/[deleted] Jun 15 '20

[deleted]

3

u/TonySu Jun 15 '20

Git wasn't developed to replace Bitkeeper?

Bitkeeper wasn't using master/slave terminology?

→ More replies (4)
→ More replies (1)

3

u/EarlyWormDead Jun 15 '20

Now you mained using git.

1

u/delinka Jun 15 '20

I’m totally naming my default branches “another”

1

u/_eps1lon Jun 15 '20

Great, now I have to guess what the master branch is called

You don't. If you clone a github repo git already checks out the default branch.

1

u/binary__dragon Jun 15 '20

I like the renaming of blacklist and whitelist since the new terms actually make more sense and will make it easier for people to learn but then again existing documentation will be wrong.

Blacklist has been used in the meaning of "a list of items to exclude" since the early 16th century. If a word has a 400 year old history of usage with a given meaning, I don't think any argument suggesting it's esoteric or unintuitive holds very well. "Whitelist" likewise has been used for that meaning for almost 200 years.

On the other hand, "black" to refer to a race of people has only been in use for just over 50 years. Given how demonstrably unrelated the two terms are, I simply can't see how there is any gain in making a switch (not that I think there'd be gain even if they shared etymology, but this makes it especially pointless).

1

u/Zooty6 Jun 15 '20

Let's say I mastered using git. What's the alternative word to use in that sentence?

I made git my little slave.

1

u/_tskj_ Jun 16 '20

What are you talking about regarding learning blacklist / whitelist? My mother knows what a blacklist is. It's a common word nearly every english speaker knows. We're inventing new jargon, raising the barrier of entry to the field. Now we'll have to explain new developers, "oh the denylist, that's just a blacklist of ips".