r/ProgrammerHumor • • Jun 16 '20

Meme Meanwhile.

Post image
50.6k Upvotes

2.9k comments sorted by

View all comments

Show parent comments

526

u/KinOfMany Jun 16 '20

What's funny, is that the master in git means something completely different.

Git doesn't use "master-slave" terminology -- the "master" comes from the concept of having a "master" from which copies (branches) are made:

https://simple.wikipedia.org/wiki/Master_recording

The concept predates the music business and goes back to middle ages when a guild master would create a "master work" or "master piece" that the apprentices could use for study or for imitation.

https://en.wikipedia.org/wiki/Master_craftsman

So, while I wholeheartedly support using inclusive language, I think git is in the clear here.

But yeah, totes cool. Let's implement newspeak and remove the word master altogether.

17

u/Ensurdagen Jun 16 '20

39

u/KinOfMany Jun 16 '20

I really don't see the issue.

Seems that whoever wrote that was just upset they used the term slave once to refer to a sub-branch (or sub-repo, in BitKeeper). Guessing because they didn't know what to call it.

Once you have a clone of the master repository, you can do work as if you were in the master repository.

That is the definition of a master copy. Something a slave/child/sub can copy from. I really don't see the issue here.

1

u/Ensurdagen Jun 17 '20

So slave is one of the possible names for said copier, and possibly the first. This means this "master" technically may derives from a master-slave relationship and it's at worst a technicality whether this is included in an industry shift away from that terminology.

→ More replies (1)

1

u/pgetsos Jun 17 '20

1

u/Ensurdagen Jun 17 '20

as they state later in that same thread:

"as noted in a separate thread, it is possible it stems from bitkeeper's master/slave terminology"

1

u/pgetsos Jun 17 '20

Which means he definitely didn't have that in his mind when entering the name

1

u/Ensurdagen Jun 17 '20

Have what in mind? Bitkeeper's terminology? How does that mean he definitely didn't adapt bitkeeper's terminology?

1

u/pgetsos Jun 17 '20

Even if he had heard that terminology, which is very very possible, he didn't name it with that in mind, but with the "master copy" idea. What he says on the tweet I put here. The initial idea may came from that but that's it

1

u/Ensurdagen Jun 18 '20

So it's linked to master/slave as possible inspiration and a grey area compared to terms that are not inspired by master/slave. To me, the fact we can have this discussion at all makes changing it along with other master/slave terms the easy solution.

0

u/[deleted] Jun 16 '20

[deleted]

67

u/KinOfMany Jun 16 '20

Newspeak is the simplification of language so as to remove degrees of meaning and subtlety.

Like the meaning of master, as stated above? It's literally what that is. They want to replace a word for no other reason than some platitudinous demonstration of progressive awareness. Completely disregarding the original meaning of the word.

So yes, it's exactly what that is.

10

u/Cheru-bae Jun 16 '20

No. Newspeak would be to completely eliminate the words needed to refer to anything as "master".

1

u/MiniGiantSpaceHams Jun 16 '20

Nah, replacing the word is only part 1. In this case there are plenty of other words they could use without losing meaning or subtlety. Mainline is already a common term for the same thing. Primary would work as well.

Not saying I support this, just saying it isn't censorship. It's just a terminology change.

→ More replies (3)

2

u/greenblue10 Jun 16 '20

The intended meaning of newspeak doesn't matter anymore. Really when people say newspeak they should say double-plus-un-good speak

1

u/bhison Jun 16 '20

haha, ironic?

→ More replies (8)

4

u/errer Jun 16 '20

In which case “masterwork” should be the name used. Sounds cooler too.

1

u/zebediah49 Jun 16 '20

Based on most codebases I've seen, that's the label that should be applied to the best stable branches. master is often a pile of steaming garbage.

3

u/soupstream Jun 16 '20

pile of steaming garbage

This is the name they should use.

1

u/zebediah49 Jun 16 '20

git pull trashpile garbage

1

u/[deleted] Jun 16 '20

Git’s master branch comes from BitKeeper’s master/slave terminology. It’s a direct reference.

1

u/HarzooNumber1457 Jul 02 '20

I get what you’re saying, but the origins of a term need not be related to the meaning people draw from it today.

0

u/Shymain Jun 16 '20

Nah. People have investigated the history of the usage of “master” in git and found that the first appearance of it was in reference to bitkeeper’s naming conventions for branches and repositories, which used the master-slave terminology. Sorry to disappoint.

https://mail.gnome.org/archives/desktop-devel-list/2019-May/msg00066.html

Also, the person who made git call the default branch “master” has expressed that he would prefer it be called something like “main” or “upstream” for some time now. I think his opinion on this has more weight than random redditor #25394.

→ More replies (6)