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

Programmer Humor

26772 readers
1621 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 22 points 6 days ago (14 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 6 days ago* (last edited 6 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 6 days ago

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

[–] psud@aussie.zone 19 points 6 days ago* (last edited 6 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 5 days 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 3 points 4 days ago* (last edited 4 days ago) (1 children)

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

[–] psud@aussie.zone 2 points 2 days ago

I don't think there's much effort to get us to use different terms for that though. Slaved machines and programs though (what's the word got to do with it anyway? It's still going to be one thing directing another and the second following without question)

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

Not anymore, but it does come from that root.

[–] faythofdragons@slrpnk.net 7 points 6 days 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 6 days ago

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

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

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

[–] T156@lemmy.world 7 points 6 days ago (1 children)
[–] onlinepersona@programming.dev 1 points 4 days 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 6 days ago (1 children)

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

[–] Wizard_Pope@lemmy.world 5 points 6 days ago

Cultleader and cultist.

[–] explodicle@sh.itjust.works 5 points 6 days ago (1 children)
[–] Nasan@sopuli.xyz 3 points 6 days ago

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

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

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

[–] bystander@lemmy.ca 5 points 6 days ago (1 children)

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.

load more comments (1 replies)
[–] traceur301@lemmy.blahaj.zone 3 points 6 days ago (1 children)

There is, it's controller and peripheral

[–] merc@sh.itjust.works 3 points 6 days ago

Peripheral means something different.

load more comments (5 replies)
[–] ronigami@lemmy.world 12 points 6 days ago (2 children)
[–] moseschrute@lemmy.world 11 points 6 days ago (1 children)
  • git rebase fuck
  • git checkout fuck
  • git checkout -b me
  • git diff fuck..me
[–] ronigami@lemmy.world 3 points 6 days ago

fuck this repository on pornhub!

load more comments (1 replies)

The term “horny on main” is a thing though

[–] Jankatarch@lemmy.world 17 points 6 days ago

I prefer master because it makes me horni.

[–] AnotherPenguin@programming.dev 8 points 6 days ago (1 children)

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

[–] douglasg14b@lemmy.world 6 points 6 days ago

I mean....

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

[–] fruitcantfly@programming.dev 10 points 6 days ago

No gods, no masters

[–] crt0o@discuss.tchncs.de 4 points 6 days ago (1 children)

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

[–] 87Six@lemmy.zip 2 points 5 days ago

You forgot the - f

[–] whotookkarl@lemmy.dbzer0.com 5 points 6 days ago (1 children)

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

[–] joyjoy@lemmy.zip 2 points 6 days ago

head is the default branch on remotes. Why not local too?

load more comments
view more: next ›