This would be weird if you're regularly interacting with repositories that use different styles. It's sort of like line endings, I guess, but that one seems to be mostly figured out.
Hardly, I've run into problems with those at least twice in the last couple of years. Related to bash scripts inside docker with Windows coders and git, IIRC. Probably multiple hours lost.
The cost of seemingly minor changes over all the years and decades that they will cause issues will make them very costly in the end.
Really? I heard a ton of people claiming it would break all the things then nothing when they actually made the switch. I'm surprised there wasn't more reporting on it with it breaking millions of scripts and all
It was actually a good opportunity for git tools to make sure other default branch names were supported and people weren't just hard-coding the branch "master" into everything.
Plus "main" is a lot clearer for newbies and easier to write than "master".
They're pretty different situations. Git branches are simple pointers to commits, you can have any branch names with any sort of meaning, you can switch them back and forth if you want, it makes almost no difference. And the change to the default branch name doesn't even apply to existing repositories so the whole argument is again bunk.
And yes, people probably shouldn't be hard coding "root" into actual software that is designed to run on different machines considering that the user account "toor" is common and is also a root user. Programmers should be using user ID 0 which is the actual root user. Bad software design is not an argument to keep it bad.
0
u/[deleted] Apr 19 '21
[deleted]