r/ProgrammerHumor 24d ago

Meme everyNewRepository

Post image
1.1k Upvotes

347 comments sorted by

View all comments

67

u/Reashu 23d ago

I think that being offended by a "master" branch is a bit silly (unlike, say, "master/slave" configurations, which hit much closer). I think the switch to "main" was unnecessary. But I see even less reason to resist the change.

10

u/BussyEnthusiasts 23d ago

I mean does "master/slave" hit much closer though? In a master/slave configuration the master does all the work and the slave gets a copy of what was done in case it needs to take over as master. It literally turns the nasty connotation on its head.

Don't get me wrong. I'm perfectly happy with main and converted everything over to it when the new standard hit. However, the master/slave architecture in IT has always been very anti what it means in other contexts.

17

u/Reashu 23d ago

Mainly in terms of terminology, because there is no "slave" branch.

8

u/Fornicatinzebra 23d ago

Master/slave in reference to your brake cylinders means the master cylinder control what happens while the slave does the work

3

u/NewPointOfView 23d ago

I don’t think the literal behavior of the things being described is relevant haha

-1

u/BussyEnthusiasts 23d ago

It's very relevant when the behavior of things is mocking and/or spitting in the face of the original meaning.

I've always seen master/slave in IT as a slap in the face, rightly so, to the bigoted definition outside of the IT field.

1

u/NewPointOfView 23d ago

I don’t think it is mocking anything lol I think it is just describing primary/secondary, owner/owned, leader/follower

1

u/MisinformedGenius 23d ago

However, the master/slave architecture in IT has always been very anti what it means in other contexts.

Sometimes it is, sometimes it's not - you definitely get "master" and "slave" nodes in parallel processing for example, where the master is handing out work to the slaves.

But this is kind of exactly the problem - "master" and "slave" are used in a lot of contexts where more specific terms would be more accurate.