this post was submitted on 11 Feb 2025
940 points (96.8% liked)

Programmer Humor

20499 readers
1558 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 76 points 3 days ago (1 children)

reverting main back to master

[–] [email protected] 32 points 3 days ago (2 children)

Yeah...this one is sadly on brand

[–] [email protected] 45 points 3 days ago (4 children)

Sadly? Master branch never implied the existence of a slave branch. It was one of the dumbest pieces of woke incursion into tech.

[–] [email protected] 23 points 3 days ago

It was kind of pointless, but at least it made software work with custom default branches.

[–] [email protected] 21 points 3 days ago (2 children)

Yes exactly. It’s a reference to the recording industry’s practice of calling the final version of an album the “master” which gets sent for duplication.

[–] [email protected] 2 points 2 days ago (1 children)

That's just not true. It originally came from Bitkeeper's terminology, which had a master branch and slave branches.

[–] [email protected] 1 points 2 days ago (1 children)

Not according to pasky, the git contributor who picked the names.

[–] [email protected] 1 points 2 days ago (1 children)

Well, he doesn't seem so sure about it himself. From the same link:

(But as noted in a separate thread, it is possible it stems from bitkeeper's master/slave terminology. I hoped to do some historical research but health emergency in my family delayed that.)

[–] [email protected] 3 points 2 days ago

He also said:

the impression words form in the reader is more important than their intent

He didn’t intend for the master/slave connotation. He intended for the recording master connotation. Either way, he regrets using the word master and he’s supportive of the change.

[–] [email protected] 8 points 3 days ago (1 children)

In alignment with this, we should not replace the master branch with the main branch, we should replace it with the gold branch.

Every time a PR gets approval and it’s time to merge, I could declare that the code has “gone gold” and I am not doing that right now!

[–] ramjambamalam 8 points 3 days ago

Merged -> gone gold

Deployed -> gone platinum

Gone a week without crashing production -> triple platinum

[–] [email protected] 2 points 3 days ago (3 children)

But why even? There's no risk to changing it and some risk to keeping it. That's the reason for the push to change it. Keeping something just because it's tradition isn't a good idea outside ceremonies.

[–] [email protected] 10 points 2 days ago* (last edited 2 days ago) (1 children)

There is definitely a risk in changing it. Many automation systems that assume there is a master branch needed to be changed. Something that's trivial yes but changing a perfectly running system is always a potential risk.

Also stuff like tutorials and documentation become outdated.

[–] [email protected] 0 points 2 days ago (1 children)

If they can't change what's essentially a variable name without issues then should they be doing the job?

[–] [email protected] 1 points 2 days ago

In assessing risk assume everyone is a bumbling idiot. For we all have moments of great stupidity.

[–] [email protected] 5 points 2 days ago (1 children)

I don’t accept that because everyone’s doing it or “group-think” are valid excuses do jump on a trend. Things like this maybe don’t seem like a big deal for you but for those that hate this culture it’s just one more example of a dumb change being shoved down their throats. This could also be the straw that breaks the camels back.

[–] [email protected] 1 points 2 days ago (1 children)

They have a reason. You just don't like it.

[–] [email protected] 1 points 1 day ago

They do, and you’re right. Morality policing and prigs are not my thing.

[–] [email protected] 15 points 3 days ago (2 children)

It's the principle of letting uneducated people dictate what words are acceptable to us

[–] [email protected] 3 points 3 days ago (1 children)

letting uneducated people

More like overeducated people

[–] [email protected] 4 points 3 days ago (1 children)

overeducated people who can't see that "master" has multiple meanings.

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)

It’s like when you write a regex for a specific case, that then gets applied everywhere.

Why can you get a Master in Decolonization Studies at a university?

[–] [email protected] 0 points 3 days ago

What makes you think they're uneducated?

[–] [email protected] 1 points 3 days ago

Yeah agreed. Just another piece of white devs acting like they knew better for everyone.

[–] [email protected] 7 points 3 days ago

For this political correctness you get trunk.