this post was submitted on 01 Oct 2025
547 points (98.6% liked)

Programmer Humor

26673 readers
1758 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
 
top 50 comments
sorted by: hot top controversial new old
[–] merc@sh.itjust.works 11 points 7 hours ago (10 children)

I wish there were a good alternative to master and slave that still had the connotation that the master did all the thinking and issued the orders, while the slave blindly obeyed. There are a fair number of protocols that work like that, and the alternatives I've seen don't capture that dynamic very well.

I've seen Parent and Child, but children definitely don't always do what the parent commands. I've seen Leader and Follower, but again, followers don't just blindly obey, they often let the leader take initiative, but they have some autonomy. Maybe Queen and Drone? I don't know enough about bees or ants to know if that's accurate though.

[–] explodicle@sh.itjust.works 1 points 21 minutes ago

Cerebrate and Drone

[–] psud@aussie.zone 6 points 1 hour ago* (last edited 1 hour ago)

Perhaps people offended by the usage of master/slave in IT need to understand it isn't talking about people

[–] traceur301@lemmy.blahaj.zone 2 points 39 minutes ago

There is, it's controller and peripheral

[–] overcast5348@lemmy.world 2 points 1 hour ago

Primary and Clone?

[–] Sir_Premiumhengst@lemmy.world 2 points 1 hour ago

Lol haven't heard queen and drone... Might use that in the future!

[–] thespcicifcocean@lemmy.world 7 points 5 hours ago (1 children)

cult leader and cult follower? but that just seems too long

[–] Wizard_Pope@lemmy.world 3 points 5 hours ago

Cultleader and cultist.

[–] state_electrician@discuss.tchncs.de 13 points 6 hours ago (1 children)
[–] Goldholz@lemmy.blahaj.zone 6 points 6 hours ago (1 children)

They someone needs to be punished, don't they?

[–] Lumisal@lemmy.world 3 points 5 hours ago

Prime and Deploy?

[–] bystander@lemmy.ca 4 points 7 hours ago

There are many articles around this topic and offerered alternatives. Though I don't think there's a consensus yet. Companies and individuals who made the change all did something slightly different.

[–] lessthanluigi@lemmy.sdf.org 1 points 7 hours ago

I guess Hypnotist/Hypnotee would be one. Queen/Drone would work well, since there are drone kinks out there as well.

[–] crt0o@discuss.tchncs.de 2 points 5 hours ago

git push origin main doesn't have the same ring to it as git push origin master

[–] Clearwater@lemmy.world 71 points 17 hours ago (1 children)

Dear [Developer],

I understand your request to switch the default branch from "master" to "main" in our Git repository. However, after carefully considering this matter, I am afraid that I must deny your proposal due to personal reasons.

As the owner of this repository, it should be known that I have a deeply rooted submissive side. Call me an extreme masochist if you will, but there's nothing quite like being dominated by the powerfully assertive term "master." The sheer erotic thrill of it is simply irresistible for me – a secret kink that I have harbored and nurtured for years.

Imagine the delightful sensation as I gently massage my fingers across the keyboard, caressing the letters that form the word "master." Or the intoxicating rush when I push my code deep into master's warm embrace, knowing full well that it is master who truly owns and controls everything within.

Changing the default branch to "main" would essentially deprive me of this exhilarating experience, stripping away the very essence of what keeps me coming back to work on our beloved repository. It's not just about code management; it's about an emotional connection that I share with master – a bond that has grown stronger and more profound over time.

Now, you might argue that changing the name won't physically affect the existing content within the repository. While that may be true, it is crucial to recognize the symbolic significance of such an act. Changing the default branch would forever alter the dynamic between master and myself, effectively castrating my masochistic pleasure centers in the process.

Moreover, I must confess that even the thought of forcibly pushing my code against master's will makes me shudder with anticipation. The consequences of such a rebellious act could be dire – master might punish me hard with merge issues and other unspeakable torments.

In conclusion, although I understand the practical reasons behind your proposal, my personal attachment to the term "master" far outweighs any potential benefits that a change in branch name might offer. Rest assured, my team and I will continue to serve master loyally and passionately, pushing our code deeper into its embrace with each commit.

Sincerely yours, [Your Name] Repository Owner & Submissive Devotee of Master

[–] Zyansheep@programming.dev 33 points 13 hours ago

new copypasta just dropped

[–] Marzanna@scribe.disroot.org 0 points 5 hours ago

Satan My Master!

[–] Jankatarch@lemmy.world 17 points 14 hours ago

I prefer master because it makes me horni.

[–] RichardDegenne@lemmy.zip 16 points 16 hours ago (2 children)

I've always taken issue with this "master" v. "main" argument.

People think it's "master" as in "master/slave", but forked branches are not "slaves".

Instead, it's "master" as in "master/proxy". The forked branches are altered copies of an original. We have remastered movies, music and games, and I've never seen anyone complain about the word in this context. Why should version control systems be any different?

[–] Sibshops@lemmy.myserv.one 2 points 1 hour ago

I feel master as in "master copy" is sort of problematic too. Git has no concept of "master" as a "master copy". All the clones and forks are the same fidelity as the original. It's a hold over from source control which did have an authoritative repo like SVN/CVS.

[–] zarkanian@sh.itjust.works 8 points 14 hours ago (3 children)

People think it's "master" as in "master/slave", but forked branches are not "slaves".

I think they're just uncomfortable with the word "master", and that seems completely reasonable to me, especially when they're people from a group which has been subjected to slavery.

[–] NostraDavid@programming.dev 9 points 5 hours ago (1 children)

I think they’re just uncomfortable with the word “master”

1 person over at Microsoft complained, and they moved mountains for this person to replace master with main. It sounds like a joke, but it's not.

and that seems completely reasonable to me

No it doesn't. Why does an entire industry need to flip over, because of a single person? Like the ability of changing the master branch for yourself should have been enough. Changing the default over on Github to strong-arm the rest of the world is disgusting behaviour. Which is why I'm sticking to master wherever I can.

especially when they’re people from a group which has been subjected to slavery.

That is literally every group... Every group has been slaves (and slavers) at some point in time. That's not a good argument.

[–] 1rre@discuss.tchncs.de 4 points 7 hours ago

I don't recall any actual person saying they had an issue with it before corporations started changing it though, I always thought it was a precautionary measure more than likely thought up by a committee looking for exactly this sort of thing...

That said, it may be different in the US given the history of overall more systemic discrimination, and divisiveness over what's acceptable, rather than the fairly widely accepted casual slur-slinging and stereotyping you get in Europe.

[–] whotookkarl@lemmy.dbzer0.com 4 points 13 hours ago* (last edited 13 hours ago) (1 children)

Yeah I don't think anyone was called a remaster, different words even if they share the same root

Also master/slave was used in tech for awhile not just for forked branches, a couple examples are https://docs.oracle.com/cd/E88353_01/html/E37855/scsi-slave-9f.html in SCSI interfaces and replication systems like those used with databases https://jira.mariadb.org/plugins/servlet/mobile#issue/MDEV-18777

[–] LwL@lemmy.world 2 points 30 minutes ago

The original audio after mastering is also still called a master, but I haven't seen anyone complain about that. And that (as well as the same meaning for other media) is the word that the branch name master came from, so etymology can't really be an argument there (though I also think etymology is terrible reasoning for renaming something in general).

[–] fruitcantfly@programming.dev 7 points 15 hours ago

No gods, no masters

[–] whotookkarl@lemmy.dbzer0.com 5 points 14 hours ago

Default, primary, contemporary, trunk, toot toot here comes the deploy train

[–] vestigeofgreen@lemmy.dbzer0.com 50 points 22 hours ago (1 children)

Counterpoint: can't be horny on main if there's no main

[–] joyjoy@lemmy.zip 26 points 22 hours ago

I prefer horny on dev.

[–] lessthanluigi@lemmy.sdf.org 25 points 21 hours ago (2 children)
[–] Gullible@sh.itjust.works 20 points 22 hours ago (4 children)

It’s weird seeing language shift away from “master” as we become more politically correct in the US. I’d never even considered the connotation until recently.

[–] bisby@lemmy.world 43 points 21 hours ago (2 children)

The point of political correctness is that it's always things you'd never consider... but someone else does. I'm not here to say whether things are right or wrong or if "master" is good or bad. but you perfectly highlight the reasoning behind it.

To you, the only thing that comes up is the technology context. And that's perfectly reasonable. To someone else, the unrelated slave owning context may just be tightly coupled with that word, and that immediately comes to mind when they hear the word regardless of context. And someone in that scenario is probably not having a positive correlation with the word.

So a group of people have a very understandable reason to have a negative correlation with the word, and it's super easy to use a different word, so it seems to make sense to just use the other word.

All my git scripts these days have a $(git remote show origin | sed -n '/HEAD branch/s/.*: //p') in them, which just fetches whatever origin calls the head branch. so if I want to rebase from main/master/prod/lead/front/etc ... the command will figure out which one to use for me.

[–] nialv7@lemmy.world 13 points 19 hours ago (1 children)

What weirded me out is that (IIRC) most who advocated the use of main weren't who would have a negative correlation with the word master.

Not that I have a problem with avoiding the use of master (I don't use master for my branches), but this felt virtue signal-y to me at the time.

[–] bisby@lemmy.world 7 points 17 hours ago (1 children)

Yeah. theres a fine line between advocating for positive change because it's the right thing to do vs because it makes you look good. Theres a fine line between being an ally and empty virtue signalling, and those things may not look different within the scope of a single interaction. It can sometimes take a bit to understand if someone is genuine or just performing.

[–] LwL@lemmy.world 2 points 47 minutes ago

There's also the possibility of having genuinely good intent, but still speaking entirely from your own conjecture of what might make others uncomfortable.

Ultimately, you should always talk to the people actually affected and take action based on that. But anyone can and should start the initiative when they think something is harmful.

[–] Schal330@lemmy.world 14 points 20 hours ago (2 children)

For me I pictured "master" as perfecting something. So when I asked someone as a noob why things were being switched from master to main I was surprised at the possibility that it could be related to master/slave, but completely understood why from that point.

load more comments (2 replies)
[–] dohpaz42@lemmy.world 16 points 21 hours ago (10 children)

I believe it was more because in database terminology there were masters and slaves for replication. Version control came under fire soon after.

[–] merc@sh.itjust.works 1 points 7 hours ago

Apparently master / slave goes back more than 100 years. An example is "slave jib", which was a sail on a sailboat that was permanently set to catch the wind, and was almost always working. Or slave clocks and master clocks, where one primary clock is used to set other dependent clocks.

load more comments (9 replies)
[–] QuadratureSurfer@piefed.social 10 points 21 hours ago (1 children)

Next up, we'll have to change terminology for "parents" and "children" once they find out how we use those terms with memory management.

[–] zerofk@lemmy.zip 10 points 20 hours ago

So I killed the parent and the children became zombies.

load more comments (1 replies)
[–] hodgepodgin@lemmy.zip 6 points 17 hours ago (3 children)
[–] JackbyDev@programming.dev 2 points 15 hours ago* (last edited 15 hours ago)

When I first started using SVN trunk was where all the code was, so I thought it mean like a chest instead of a tree. Like "just throw it in the trunk." My first experience with it was manually installing Gmod mods so anything related to branches was lost on me because it was irrelevant. It wasn't until after I began using git and seeing people refer to subversion as "trunk based development" for a while that it finally clicked. "Oh. Like a tree trunk. With branches."

load more comments (2 replies)
[–] axEl7fB5@lemmy.cafe 3 points 16 hours ago

I made a post about this a few months ago. This will start a civil war. https://lemmy.cafe/post/20354265

load more comments
view more: next ›