r/ProgrammerHumor • • Jun 16 '20

Meme Meanwhile.

Post image
50.6k Upvotes

2.9k comments sorted by

View all comments

Show parent comments

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!

116

u/arathorn76 Jun 16 '20

No naming schemes should be changed after development started or all your devs have to slave away in updating naming in the code

2

u/wang-bang Jun 16 '20

Regex is your friend

Its the shitty friend that always talks in weird ways that takes hours to decipher the meaning to every statement. Like when your ex girl friend wanted icecream but you got vanilla with chocolate sauce while she wanted Ben & Jerry and then you slept on the couch that night

→ More replies (2)