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

Programmer Humor

26688 readers
3064 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

The term “horny on main” is a thing though

[–] ronigami@lemmy.world 12 points 1 day ago (2 children)
[–] moseschrute@lemmy.world 11 points 1 day ago (1 children)
  • git rebase fuck
  • git checkout fuck
  • git checkout -b me
  • git diff fuck..me
[–] ronigami@lemmy.world 3 points 1 day ago

fuck this repository on pornhub!

load more comments (1 replies)
[–] Clearwater@lemmy.world 109 points 2 days 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 53 points 2 days ago

new copypasta just dropped

[–] merc@sh.itjust.works 22 points 2 days ago (16 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 2 days ago* (last edited 2 days 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 day ago

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

[–] psud@aussie.zone 19 points 2 days ago* (last edited 2 days ago) (2 children)

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

[–] 7isanoddnumber@sh.itjust.works 4 points 1 day ago (1 children)

I’ve now got an image in my head of a new satanic panic around daemons and wizards in IT.

[–] T156@lemmy.world 2 points 3 hours ago* (last edited 3 hours ago)

It would at least be a little more understandable, what with the whole aborting, terminating, or killing children before the parents to prevent zombies.

[–] merc@sh.itjust.works 4 points 1 day ago (2 children)

Not anymore, but it does come from that root.

[–] faythofdragons@slrpnk.net 6 points 1 day ago (1 children)

Technically, so does the word 'robot', but it's not from english, so that linguistic connection to slavery doesn't get noticed.

load more comments (1 replies)
[–] MonkeMischief@lemmy.today 4 points 1 day ago

Oh c'mon, now we're bringing root into this? /j :p

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

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

[–] T156@lemmy.world 7 points 2 days ago (1 children)
[–] onlinepersona@programming.dev 1 points 11 hours ago

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

[–] thespcicifcocean@lemmy.world 8 points 2 days ago (1 children)

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

load more comments (1 replies)
[–] explodicle@sh.itjust.works 5 points 2 days ago (1 children)
[–] Nasan@sopuli.xyz 3 points 1 day ago

Does Overmind only come into play when talking about cloud environments?

[–] Sir_Premiumhengst@lemmy.world 5 points 2 days ago

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

load more comments (9 replies)
[–] AnotherPenguin@programming.dev 8 points 2 days ago (1 children)

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

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

I mean....

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

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

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

[–] joyjoy@lemmy.zip 31 points 3 days ago

I prefer horny on dev.

[–] RichardDegenne@lemmy.zip 26 points 2 days ago (10 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 6 points 2 days 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.

load more comments (9 replies)
[–] Jankatarch@lemmy.world 17 points 2 days ago

I prefer master because it makes me horni.

[–] lessthanluigi@lemmy.sdf.org 30 points 2 days ago (3 children)
[–] Gullible@sh.itjust.works 26 points 3 days ago (16 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 2 days ago (7 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.

[–] 0x0@lemmy.zip 1 points 1 day ago (1 children)

To someone else, the unrelated slave owning context may just be tightly coupled with that word,

Considering slavery was abolished in the US in 1865, no one alive ever felt what it's like to be a slave.
Most people moaning about this are virtue-signaling.
And corpos only do it to avoid lawsuits.

Oh, unless you mean wage-slaves, then i'm onboard!

[–] bisby@lemmy.world 2 points 1 day ago

You don't have to have been a slave to have dealt with racism. Enough people still get really excited about their confederate flags that clearly the era is still heavily topical.

The word "confederate" means nothing beyond referring to a type of government, but when I hear it, I think immediately of the American civil war. Even though that ended in 1865 so I was never alive to witness that.

That's not how word associations work.

load more comments (6 replies)
load more comments (15 replies)
load more comments
view more: next ›