by SketchySeaBeast · 1y ago · 0 comments
But why are any PRs like this? Each PR should represent an atomic action against the codebase - implementing feature 1234, fixing bug 4567. The project's changelog should only be updated at the end of each PR. The fact that I went down the wrong path three times doesn't need to be documented.
We can bikeshed about this for days. Not every feature can be made in an atomic way.
To be honest, I usually get this with people who have never realized that you can merge dead code (code that is never called). You can basically merge an entire feature this way, with the last PR “turning it on” or adding a feature flag — optionally removing the old code at this point as well.
That's called a commit. Not sure why some insist on replacing commits with vendor lock-in with less tooling and calling it progress.
We can agree that we don't need those additional steps once the PR is merged, though, right?