Seems more applicable to an imperative style, and IMO even still the advice is too dependent on special/actual case details to be generally applicable as a "rule of thumb".
This is just one specific example amongst many of how redundant logic could be simplified because sometimes the branch is an implementation detail and you want to push it down, and sometimes it's not and you want to push it up.
A title as uninformative as the single
.
commit messages he suggests writing.Bare minimums of
typo
,refactor
,whitespace
,comments
are barely any effort -- less than the thought it takes to name variables and functions.I really can't agree with completely meaningless messages like
minor
and.