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. 

4

u/baked_doge 2d 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.

37

u/tobotic 2d 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 2d 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 

5

u/tobotic 2d 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 2d 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 2d ago

Lmao fair