Hacker News new | ask | show | jobs
by oarsinsync 2105 days ago
A lot of systems I use have renamed master/slave to leader/follower.

It set me back a moment the first time I saw it, and took me about 30 seconds to mentally internalise the change. After that first time, no issues as a reader of the code/config.

1 comments

Leader/follower, primary/replica, sender/receiver, primary/fallback... not only do these phrases avoid the charged language of "master/slave", but they can also often describe the roles of the two components more precisely.

The historical usage of "master/slave" for the two drives on an IDE channel is a great example of the imprecise use of these terms -- it implies a relationship between the devices that doesn't exist at all. Both devices respond directly to commands from the host; the second device on the channel is not under the command of the first one.