386
submitted 8 months ago by TxzK@lemmy.zip to c/programmerhumor@lemmy.ml
top 50 comments
sorted by: hot top controversial new old
[-] davel@lemmy.ml 71 points 8 months ago

Try not to make memes that imply you’re not anti-slavery.

[-] kaida@feddit.de 58 points 8 months ago

I‘m anti-slavery but that’s just not the reason I use main as default branch

[-] TxzK@lemmy.zip 91 points 8 months ago

yup same. I hate slavery just like anyone else but fail to see how naming a branch master has to do anything with it. Next are they gonna claim that master's degree is pro slavery or something

[-] agressivelyPassive@feddit.de 55 points 8 months ago

Bachelor's degree means you're not married, so obviously an incel.

[-] Deebster@programming.dev 13 points 8 months ago

I put this one in the same camp as whichever well-meaning person came up with "happy holidays". Other religions and cultures don't mind Westerners celebrating Christmas, and over-corrections like this just give fuel to the "political correctness gone mad" (now re-branded as anti-woke) crowd.

[-] hperrin@lemmy.world 13 points 8 months ago

Happy Holidays makes perfect sense. You can start saying it in early December, whereas if you say Merry Christmas in early December, you seem like you’re not very good with dates. Or maybe you’re one of those people who’s really obsessed with Christmas. I’ll say Happy Holidays until around the 23rd, when I’ll say Merry Christmas until the 26th, back to Happy Holidays until the 31st, when I say Happy New Year.

[-] jlow@beehaw.org 12 points 8 months ago

https://edition.cnn.com/2020/07/06/us/racism-words-phrases-slavery-trnd/index.html

Tldr: They're a reminder of slavery, some people feel uncomfortable using / hearing them, it would not be hard for you to make their lifes a bit better by not using them but you can obviously do whatever you like.

[-] Gabu@lemmy.ml 14 points 8 months ago

RIght, because the best way to stop bad things from happening is to have everyone forget they happened...

load more comments (1 replies)
[-] ikidd@lemmy.world 11 points 8 months ago

Don't give the fucking outrage vampires any ideas.

[-] 56_@lemmy.ml 10 points 8 months ago* (last edited 8 months ago)

The term "master" is often used with the term "slave" in computing: https://en.wikipedia.org/wiki/Master-slave_(technology)
So it wouldn't be odd to assume that git's use of the term "master" also refers to slavery.

[-] magic_lobster_party@kbin.social 15 points 8 months ago

although in the context of version control, the term master simply refers to the gold master, a term borrowed from the recording industry which refers to the final mixed version of a recording, and does not have a corresponding slave.

Either way, I think “main branch” is easier to say, so it’s a win.

load more comments (3 replies)
[-] rwhitisissle@lemmy.ml 65 points 8 months ago* (last edited 8 months ago)

Instead of either, it's good to have a more descriptive primary branch:

git checkout -b dontwritetothisbranchdirectlyyougottaopenaprfirstandhaveitreviewedandapprovedandthenpasstheautomatictests

[-] Kbin_space_program@kbin.social 16 points 8 months ago

Git checkout -b neverpushtothisbranchthismeansyou

[-] synae@lemmy.sdf.org 9 points 8 months ago

git co -b nevergonnagiveyouupnevergonnaletyoudown

load more comments (6 replies)
load more comments (1 replies)
[-] Empathy@beehaw.org 50 points 8 months ago

I use main because, although I never heard of anybody actually getting offended by master, it costs me nothing to use main instead. Also it looks prettier and seems to be the new convention ¯\_(ツ)_/¯

[-] Ohi@lemmy.world 49 points 8 months ago

No disrespect, but asking everyone to remove words from the English language because they may offend a small group of oversensitive people is one of the most frustrating social initiatives of our time. "Master" makes sense for the job and unless we're also putting "Slave" and "Cotton" on the dictionary chopping block, the arguement will always seem arbitrary to me.

[-] Jorgelino@lemmy.ml 14 points 8 months ago

unless we're also putting "Slave" and "Cotton" on the dictionary chopping block

Aren't we though? At least when it comes to tech, Master-Slave terminology has been largely deprecated in favor of other terms.

[-] docAvid@midwest.social 13 points 8 months ago

The only reason you think "master" makes sense is because you're used to it. It's actually quite a weird connection to make, if you aren't used to it. "Main" is much more straight forward. And nobody is really demanding people stop using "master", so far as I am aware, it's just that people are making that choice themselves.

[-] corship@feddit.de 8 points 8 months ago* (last edited 8 months ago)

I vote for naming this branch "mommy", since all other branches are it's offspring, and related to it.

load more comments (1 replies)
load more comments (2 replies)
[-] vojel@discuss.tchncs.de 38 points 8 months ago

Oh I don’t give a single fuck about the discussion, it’s technology, not politics. I am more upset that my company has some legacy repositories with master and the newer ones with a main branch. So everytime I want to create a MR with push options via command line I need to change main to master or visa versa.

[-] hellfire103@sopuli.xyz 37 points 8 months ago

I use master because I'm nostalgic. If it matters that much, though, I'll start using trunk (like we used to back in the days of SVN).

[-] MrScruff@lemmy.ml 13 points 8 months ago

Don't speak the name of that horror!

[-] 0x0@lemmy.dbzer0.com 8 points 8 months ago

At least it was better than CVS

load more comments (7 replies)
[-] alefunguju@lemmy.one 37 points 8 months ago

I use main as my default branch because it's what Git has been defaulting to for some time now

[-] PoolloverNathan@programming.dev 19 points 8 months ago

Git's still master by default; github uses main for new repositories.

[-] kionite231@lemmy.ca 14 points 8 months ago

You mean github.

[-] hperrin@lemmy.world 33 points 8 months ago

I use “secondary” as my default branch, because fuck the rules.

load more comments (2 replies)
[-] mlg@lemmy.world 32 points 8 months ago

Master sounded so much cooler man

Like yeah I'm a master of linux

Literally no connotation to slavery when the word slave isn't even used in the git terminology

load more comments (2 replies)
[-] words_number@programming.dev 25 points 8 months ago

I also think it's more descriptive. Just like blocklist and allowlist.

[-] Omega_Haxors@lemmy.ml 24 points 8 months ago* (last edited 8 months ago)

It speaks to the deep rooted whiteness of the industry that such a common-sense change is treated as completely bullshit even to this day.

[-] derpgon@programming.dev 9 points 8 months ago

It speaks to deep rooted butthurtness of USA boomers and constant need to enforce their stupid ass rules to others. It's not racist, neither are blacklist or whitelist.

load more comments (8 replies)
[-] ryannathans@aussie.zone 23 points 8 months ago
[-] Chriswild@lemmy.world 16 points 8 months ago

When you're pro slavery but only when it's with consenting adults.

[-] SuddenDownpour@sh.itjust.works 8 points 8 months ago

Main in the workplace, master in the bedroom.

load more comments (1 replies)
[-] ShortN0te@lemmy.ml 22 points 8 months ago

I find it funny how many ppl complained about it when it came up. Now it is the default on github and other code forges. And now one cares anymore if it is master or main.

[-] agressivelyPassive@feddit.de 64 points 8 months ago

It was never about the name itself, but about breaking a convention for extremely dubious reasons.

[-] Deebster@programming.dev 12 points 8 months ago

On the plus side, forcing people to support alternative branch names surely has led to better software support for a core Git feature.

[-] lugal@lemmy.ml 11 points 8 months ago* (last edited 8 months ago)

You sound like a slave owner, ngl

I am not pro slavery but I will not free my chattel slaves. People just break with this tradition for extremely dubious reasons.

Listen to yourself!

Edit: I was thinking about putting "/s" at the end but thought it was obvious enough. I was wrong

load more comments (2 replies)
[-] Kbin_space_program@kbin.social 18 points 8 months ago

Because its a non issue to developers.

It was only a hand wringing thing by internet bloggers.

[-] cmnybo@discuss.tchncs.de 12 points 8 months ago

Master is still the default branch when you run git init.

load more comments (3 replies)
[-] tsonfeir@lemm.ee 17 points 8 months ago
load more comments (1 replies)
[-] IsoSpandy@lemm.ee 10 points 8 months ago

I use master because when I do 'git init .' I get a master branch and I am lazy enough to not rename it. As for typing it later on.. . Well zsh does that for me

load more comments
view more: next ›
this post was submitted on 21 Jan 2024
386 points (100.0% liked)

Programmer Humor

32058 readers
1312 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS