20 points · by cubix4u · 2y ago · 7 comments
The AI doesn’t understand business or product context, only the code. It can’t explain _why_ the change was made or the higher level reasoning or impacts which are the main point—the “what” is already present in the diff.
A commit or MR that says “Added a method to the controller that calls the new `frobulate` method on FooService” answers none of the questions someone would have looking back at this in six months and provides no helpful information for someone trying to debug or modify it later.
A commit message should describe the context and reasoning which lead to a code change.
Describing the change itself is pointless, since you have a diff already.