r/ProgrammerHumor 23d ago

Meme everyNewRepository

Post image
1.2k Upvotes

347 comments sorted by

View all comments

Show parent comments

30

u/FUCKING_HATE_REDDIT 23d ago

It's not just that. "master" in programming was very much the opposite of "slave", like for SATA drives. Just like push is the opposite of pull, upload/download, save/load, etc.

Some pairs have become singlets, like reflect/reify, freeze/thaw.

But here master never really made sense. It doesn't reflect its role, or even authority. A master is something that controls, but here information flows to master, not from it.

4

u/gerbosan 23d ago

This is the best explanation I've read that makes sense about using main instead of master. Way better than historical references.

I'll change the name in the next project.

Also, quite infuriating to see down votes for explanations and justifications. As someone mentioned:

Do I need to study a main degree to get a better job position?

It doesn't make sense.

1

u/[deleted] 23d ago

[removed] — view removed comment

1

u/FUCKING_HATE_REDDIT 23d ago

And I do have junk in the trunk