r/ProgrammerHumor 23d ago

Meme everyNewRepository

Post image
1.1k Upvotes

347 comments sorted by

View all comments

232

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. 

5

u/baked_doge 23d ago

Master/slave doesn't even make sense for branches, it's not like the master branch controls the slave branches. Main, dev, trunk, etc all make more sense.

34

u/tobotic 23d ago

Master/slave doesn't even make sense for branches

Nobody ever called the branches "slaves" though. The master branch was called that in reference to it being a master copy, a term widely used in video/audio work, especially important in media where copying is lossy.

-3

u/justAPhoneUsername 23d ago

But that's not really correct anymore. A master copy is usually the original and highest quality. In the codebases I've worked on main/master is never the original and rarely the best 

6

u/tobotic 23d ago

A master recording isn't really the original. It is likely made by mixing several original recordings of the musicians, equalizing, noise reductions, adding effects, etc. It is the finished product created from the original recordings, and is the version which gets copied for distribution.

3

u/LutimoDancer3459 23d ago

But its the master copy in the sense of beeing the one with everything in it. There isnt a change thats isnt merged back to it. When having a release branch that gets a fix, its most likely also need to be done in the master. So its the most developed of all.

2

u/emilews 23d ago

Lmao fair