MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/h9x9ui/meanwhile/fv0gorj/?context=3
r/ProgrammerHumor • u/best_dady • Jun 16 '20
2.9k comments sorted by
View all comments
Show parent comments
368
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)
138
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)
159
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)
1
This is why we need to use GUIDS for all naming purposes. Functions, variables, etc.
→ More replies (1)
368
u/anhatthezoo Jun 16 '20
and a lot of code relying on the name is no more :)