News for hackers. Stuff that matters.
Re:Pull Requests vs. Pair Programming by nighthawk454 on Sunday October 03, 2021 @11:39PM (#28742810)
basically means a PR is when the feature is done. you're not asking for code ideas, you're proposing a finished change.
Re:Pull Requests vs. Pair Programming by reidjs on Sunday October 03, 2021 @11:55PM (#28742889)
Sometimes I will use a draft PR if I need to show some intermediate code, but I mostly agree. If you put up a PR that means you’re proposing this code is solid and should go into production.
Re:Pull Requests vs. Pair Programming by Chemaclass on Monday October 04, 2021 @02:35AM (#28743739)
Totally. This is a relatively new concept since a year or so, but there are still people who doesn't use them. But I think a Draft-PR is a great opportunity to show the progress of your changes even if it's not finished yet.
Re:Pull Requests vs. Pair Programming by brigandish on Monday October 04, 2021 @08:08AM (#28745635)
What are the benefits of a draft PR over publishing a feature branch that others can access?
Re:Pull Requests vs. Pair Programming by jlokier on Monday October 04, 2021 @10:00AM (#28746788)
Assuming you're using GitHub: a draft PR has a comments thread, which you might choose to keep after merging; it can have linked issues (that close if the PR is merged); the draft PR is organised in the list of PRs so it has higher visibility than a branch (some projects have hundreds of branches but few draft PRs) and a more clearly presented one-line description, and you can promote it to a regular PR while keeping the comment history.

Overall theme: With a feature branch, you'll need to announce and discuss it somewhere else. With a draft PR, those are features attached to the PR.

Re:Pull Requests vs. Pair Programming by Chemaclass on Monday October 04, 2021 @02:34AM (#28743723)
Yes, that was what I meant. Thanks.