this post was submitted on 01 Oct 2025
719 points (98.4% liked)

Programmer Humor

26799 readers
2626 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
[–] Clearwater@lemmy.world 109 points 1 week 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 55 points 1 week ago

new copypasta just dropped

[–] vestigeofgreen@lemmy.dbzer0.com 57 points 1 week ago (1 children)

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

[–] joyjoy@lemmy.zip 31 points 1 week ago

I prefer horny on dev.

[–] lessthanluigi@lemmy.sdf.org 30 points 1 week ago (3 children)
[–] Gullible@sh.itjust.works 26 points 1 week 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 49 points 1 week ago (4 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 17 points 1 week 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 11 points 1 week 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 8 points 1 week 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 1 week 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)
load more comments (2 replies)
[–] dohpaz42@lemmy.world 16 points 1 week 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.

[–] frezik@lemmy.blahaj.zone 8 points 1 week ago

Things like SPI bus in electronics, too.

load more comments (9 replies)
[–] QuadratureSurfer@piefed.social 12 points 1 week 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 14 points 1 week ago (1 children)

So I killed the parent and the children became zombies.

load more comments (1 replies)
load more comments (1 replies)
[–] RichardDegenne@lemmy.zip 26 points 1 week 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?

[–] zarkanian@sh.itjust.works 9 points 1 week ago (4 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 18 points 1 week ago (2 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.

load more comments (2 replies)
[–] 1rre@discuss.tchncs.de 7 points 1 week ago (2 children)

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.

load more comments (2 replies)
load more comments (2 replies)
[–] Sibshops@lemmy.myserv.one 6 points 1 week 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.

[–] merc@sh.itjust.works 22 points 1 week ago (17 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.

[–] stingpie@lemmy.world 22 points 1 week ago* (last edited 1 week ago) (1 children)

I personally think the change from master & slave was kind of silly, as far as I'm aware, it was a bunch of people with no background in CS who thought the application of the term to something that has neither race nor agency was an insult to black people.

But I digress. It led to better guidelines in the Linux kernel, which I think are useful. You should tailor the terms you're using to the specifics of the task. If you have a master process that only has outward interfaces through the slave processes, you could use the term 'director' and 'actor.' if the master process is managing slave processes which compete over the same resources, you can use the terms 'arbiter' and 'mutex holder.' If the slaves do some independent processing the master does not need to know the details of, you can use the term 'controller' and 'peripheral.'

Basically, use a term that is the most descriptive in the context of your program.

Edit: also, I don't know why no one mentions this, but you can also use master/servant. Historically, there wasn't a difference between servant and slave, but in modern days there is, so it's technically different, technically the same.

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

Servant gets confusingly close to "server" which is already a badly overloaded term.

[–] state_electrician@discuss.tchncs.de 19 points 1 week ago (1 children)
[–] Goldholz@lemmy.blahaj.zone 10 points 1 week ago (1 children)

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

[–] psud@aussie.zone 19 points 1 week ago* (last edited 1 week ago) (7 children)

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

load more comments (7 replies)
[–] thespcicifcocean@lemmy.world 8 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] T156@lemmy.world 7 points 1 week ago (1 children)
[–] onlinepersona@programming.dev 1 points 6 days ago

I need repos with these branch names. Main just sounds so lame. This would keep me on my toes

load more comments (12 replies)
[–] Jankatarch@lemmy.world 17 points 1 week ago

I prefer master because it makes me horni.

[–] goatinspace@feddit.org 12 points 1 week ago
[–] ronigami@lemmy.world 12 points 1 week ago (2 children)
[–] moseschrute@lemmy.world 11 points 1 week ago (1 children)
  • git rebase fuck
  • git checkout fuck
  • git checkout -b me
  • git diff fuck..me
load more comments (1 replies)
load more comments (1 replies)
[–] fruitcantfly@programming.dev 10 points 1 week ago

No gods, no masters

The term “horny on main” is a thing though

[–] hodgepodgin@lemmy.zip 9 points 1 week ago (5 children)
load more comments (5 replies)
[–] dreadbeef@lemmy.dbzer0.com 8 points 1 week ago* (last edited 1 week ago) (4 children)

trunk and it's not even close. It's even a mastodon reference therefore it's awesome.

load more comments (4 replies)
[–] AnotherPenguin@programming.dev 8 points 1 week ago (1 children)

If a word is enough to make you horny...

[–] douglasg14b@lemmy.world 6 points 1 week ago

I mean....

Yeah, depending on the word, it can invoke specific feelings. Words don't end to have that effect...

load more comments
view more: next ›