Better HN
topnewbestaskshowjobs
Log inSign up

whipoodle

236 karma · joined Aug 1, 2017 (9y ago) · 528 submissions

Submissions

comment 9y ago · link · parent

The stuff about “lying” should be disregarded. Using rebase or merge is not a moral issue. Well, it would be bad to rebase master or some other public branch, so don’t do that. Not because it’s lying but because it will cause problems and confusion. Screw it up bad enough and you’ll lose data.

The chain of broken commits is unfortunate, but add a bug fix commit and then rebase to squash it into whatever commit it belongs. The problem is the assumption in the feature branch that the dependency is still there when it isn’t. The problem is not rebase. The fix for the missing dependency has to happen somehow, squashing in a bugfix is a fine way to handle it.

When conflicts are introduced, I’ll agree that rebasing becomes a lot more painful and less useful. Rebasing through the constant stream of conflicts is maddening. It’s not clear what to do here, but repeatedly merging brings all sorts of ugly pain with it, like the fact that your branch ends up littered with changes that you didn’t make and are unrelated to the actual purpose of the branch.

I’ll close by saying that if you work in a fast-moving monorepo, rebasing becomes a more pressing concern.

comment 9y ago · link · parent

Oh no, not subjectivity!!!

comment 9y ago · link · parent

People get what they deserve and deserve what they get.

comment 9y ago · link · parent

> But it can also have the opposite effect, demoralizing employees and driving valuable talent away, especially when it isn’t clear why some people are paid more than others.

Yes, if only something could be done about that.

comment 9y ago · link · parent

It's just a slight misunderstanding. Visa (or Amex/Mastercard/other card networks) don't take 3%, but payment processors take a slice which is in that ballpark. To a business, all that really matters is when you accept a credit card payment you kiss a few percentage points goodbye, so it's easy to misconstrue as the card network taking that cut.
12345
18