6 ms·
It's a very overloaded term. if someone says `master` I know they're talking about the git branch. If they say `main`, they could be talking about `main.c`, the
by doubleunplussed 6y ago
It's a very overloaded term. if someone says `master` I know they're talking about the git branch. If they say `main`, they could be talking about `main.c`, the `main()` function, or just using the regular English word 'main' as an adjective. `master` is very unambiguous due to not otherwise being a commonly used word in software. `trunk` or `mainline` would be better names than `main` for that reason (though mainline sometimes refers to specific people's master branches as with Linux, so that would unfortunately be colliding with that).