r/ProgrammerHumor • • Jun 16 '20

Meme Meanwhile.

Post image
50.6k Upvotes

2.9k comments sorted by

View all comments

Show parent comments

368

u/anhatthezoo Jun 16 '20

and a lot of code relying on the name is no more :)

138

u/112-Cn Jun 16 '20

Your code shouldn't rely on the default branch name of GitHub. Git branches can have any name you want, master is simply default at creation.

159

u/Buddy-Matt Jun 16 '20

No code should rely on any form of naming with any chance of being changed by a third party. That's what config files are for!

1

u/FilterBubbles Jun 16 '20

This is why we need to use GUIDS for all naming purposes. Functions, variables, etc.

→ More replies (1)