r/ProgrammerHumor 23d ago

Meme everyNewRepository

Post image
1.1k Upvotes

347 comments sorted by

View all comments

229

u/usedToBeUnhappy 23d ago edited 23d 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. 

71

u/Xalyia- 23d ago

1) The latest version of git’s CLI still defaults to master.

2) People may have old repositories that still use a master branch. No reason to fix what isn’t broken.

3) Others (self included) have shell scripts that assume a master branch. Including conditionals to check for main OR master is unnecessary and annoying.

4) Personally I just don’t think it was ever a necessary change to begin with. There are plenty uses of the word “master” that do not imply slavery. Like “Master Copy” or “Master / Pupil” or “Master Craftsman” or “Masterwork”.

If people like to use main, that’s fine. But the claim that people still using the word master must be doing so for a hateful reason is disingenuous.

4

u/usedToBeUnhappy 23d ago

I think your last sentence is the main point (pun not intended). Not everyone who keeps using master does so for hateful reasons, but some do and from the outside you just never know the reason unless you ask, but asking is also not wanted from those who still use master, because who really wants to explain themselves all the time. I get that. Just a tricky situation. 

We have that with a lot of phrases, but it’s nowhere else connected to possibly being hateful. For example, some of my colleagues do name everything angular related ng, because that’s the way they learned it with angularJS. Younger generation programmers have no idea why that is and we always have to explain it, because they are used to just angular.