Better HN
topnewbestaskshowjobs
Log inSign up

craigmparis

1 karma · joined Sep 7, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

From their example I think what the author means by "Never fix a bug and refactor in the same pull request" is actually "Never fix a bug and do unrelated refactorings in the same pull request." Many times it is much easier to fix a bug or implement a feature if some refactoring is done first. In order to increase clarity in the following code review I recommend using short, descriptive commit messages following some type of standard. Two that I know of are Conventional Commits[1] and Arlo's Commit Notation[2].

[1] https://www.conventionalcommits.org/en/v1.0.0/ [2] https://github.com/RefactoringCombos/ArlosCommitNotation