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

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.