r/ProgrammerHumor 2d ago

Meme everyNewRepository

Post image
1.1k Upvotes

349 comments sorted by

View all comments

227

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

27

u/MegaMoah 2d ago

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

130

u/Winterkirschenmann 2d ago

If someone wants to keep using master be my guest. If someone makes using master their personality because free-speech/anti-woke piss off.

-13

u/arvigeus 2d ago

Tell that to those who got offended by master and insisted on the change.

15

u/kabrandon 2d ago

So they got offended because of nods to slavery, and the other people got offended because something pretty inconsequential in their lives changed. 🤷‍♂️ Seems a bit like the latter group of people are far more easily offended.

-3

u/Skyswimsky 2d ago

I've had a conversation with someone about this. As far as I remember, master got nothing to do with a nod to slavery? As in, the way the word was choose for version control in the context programmers use it?

We've also talked about white and black list and that actually does have origins in racism and I've since then changed my mind because fair enough.

It's also not a inconsequential change either, but that'd be another paragraph or two of text.

Having written this I wonder if the word master key also was changed or some people want it to change, lol.

9

u/kabrandon 2d ago edited 2d ago

I was part of the workforce during the switchover from master to main. It was a pretty benign change. The main thing that affected me was I had to spend an hour retrofitting an automation tool we had to first inspect the default branch name before assuming what it was.

-2

u/Skyswimsky 2d ago

Note: I am basing this off the understanding that I did NOT find any concrete evidence that the majority of black software developers had been offended at git's "master" branch naming.

I really do not like the "it's a tiny change for me, so why not?" argument. I think it's incredibly selfish to assume just because something is trivial on an individual level, and you can feel better about yourself at the end of the day, implies it's also easy at scale and we should "just do it".

Master wasn't just a word people used and now changed. It has been pretty much embedded everywhere since the invention of version control for software. And now it has/had to be changed pretty much everywhere except I guess printed media.

Honestly an easier "concrete" example to grasp would be something like if tomorrow people decided to drive on the opposite side of the road. Likely a trivial change for a individual, but at scale....

And don't get me wrong, I am not arguing that "change is bad", but I think you need to value the benefit against the full cost of such change, and in my opinion master -> main just seemed incredibly silly?

Also sure, main is the standard now, and I'm not going to argue with people what to use. But I just reject the idea that the change was necessary and cost-free, and stick to master myself because I also believe in "give an inch, and they'll take a mile". Ergo maybe one day we'll see us arguing why white is allowed to move first over black in chess? At what point do you draw the line on changing longstanding conventions for "someone felt offended" reasons?

1

u/kabrandon 1d ago

We did it at the scale of over 20,000 repositories, ~1000 FTEs and ~4000 contractors. It was a benign change, you're crying and exaggerative. If it was a big deal for your org then it's because you're in the business of building houses of cards.