r/coding • • Jun 14 '20

GitHub to replace "master" with alternative term to avoid slavery references | ZDNet

https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/
430 Upvotes

461 comments sorted by

View all comments

Show parent comments

1

u/xPURE_AcIDx Jun 15 '20

Wouldn't this change be for new repos? If so, how does this effect legacy systems?

1

u/eskimolimun Jun 15 '20

Every existing script will need to be translated to work with this new system, so it will work with both the old and new system probably (there are other ways to handle this as changing the old repos to main as well) this costs alot of time depending on legacy and existing scripts. In addition much of the documentation on stack overflow and any other place is going to become outdated.

1

u/xPURE_AcIDx Jun 15 '20

Lmao no they won't. When you make a new repo, just change the default branch to master. Problem solved.

I can see stackoverflow being an issue for newbies though. People will search how to "merge to main" or "branch from main" and there wont be many pre-existing answers.

1

u/eskimolimun Jun 15 '20

Like as a programmer it seems fine to you to have a default that forces everyone to change it the second its created? like lets leave the fact its a total waste of time, does it really make sense to you ? what ?

1

u/xPURE_AcIDx Jun 15 '20

Personally I think the change is stupid... But saying that this change will break a bunch of things is dillusional. It's literally just a branch name... When you make a github repo you can change what the default branch is when you make it, so it literally takes 2 seconds of typing to get master back.

1

u/eskimolimun Jun 15 '20

Just to educate you on how this small changes can be painfull , go look at the change from python 2 to 3 and tell people who suffered from it how small it s to add () to any print they have. All the python 3 changes were small, but it WAS a pain. There they had a good reason. Saying me as a developer can work around is so its okay is stupid. Literarly github can be deleted tommorow And I will just need to move to gitlab. Its not too complicated, I CAN work around it, but it will be a pain point, same with branch names same with anything like this.

1

u/xPURE_AcIDx Jun 15 '20

I dont think dealing with a syntax update is equivalent to changing the name of a git branch in terms of inconvenience. Again you can change the name of githubs default branch by just typing it when you initialize a repo. Literally 2 seconds and 7 keystrokes (including backspace!).

You're not educating me. I know what I'm doing.

1

u/eskimolimun Jun 15 '20

How is running a specific command on every repo start so much easier then writing ()? lol Sure thing mate no doubt forcing every single user for such tasks is totally fine. funny comparing the effort of this change to the effort of switching off github totally isnt that big. But sure man, I just hope not having to be a user of a developer who just says meh w/e about a change that forces milions of users to run a command every new repo just because and thinks its fine, Great product experience.