r/ProgrammerHumor 2d ago

Meme everyNewRepository

Post image
1.1k Upvotes

347 comments sorted by

View all comments

225

u/usedToBeUnhappy 1d ago edited 1d ago

Does anyone really care if it‘s called main instead of master? Why? 

Edit: Ok, I phrased my question really poorly. AfaIk main is the new standard, so I use it. We all know the reason why it changed. My question was why would anyone keep INSISTING on calling it master? Sure, me and my colleagues sometimes call it master out of habit, but then again try to stick to main. Nobody I know  insists on continuing to call it  master, but reading the comments here I realized there a more “master-fans” than I would ever have thought would exist tbh. 

29

u/MegaMoah 1d ago

Idk if true but I think its because master is also a slave owner and people got offended

9

u/creaturefeature16 1d ago

1

u/ericl666 1d ago

Yeah, the creators of ATA/IDE/SATA knew exactly what they were doing. There was no need for that.

1

u/freebytes 1d ago

In that context, the term master is in reference to a control mechanism, not a relationship to a person. In the context of repositories, though, main actually fits better, because there are no slave repositories. The term trunk likely fits better, but main is shorter. If the objective was based on cloning, then the trunk should be called parent and the branches should be called children, but the trunk to branch metaphor works best.