Code reviews

Random thoughts

There are two parties involved in code reviews — the author and the reviewer — and both have responsibilities. It is the responsibility of the author to create changesets that are easy to review.

There is no one-size-fits-all code review. It depends on (among others):

All code is malleable, and code that isn’t ideal does not necessarily need to be blocked from being merged. Some code is easy to modify after the fact, while other code is not (schema changes are tough).

To do: it can be better to have a conversation before making a code change. Only make a code change if there is a rough plan agreed upon.

To do: Tooling and processes cannot replace human communication. Good communication is critical. See also: Phrase suggestions as open questions.

To do: Pair programming constitutes an implicit code review.

To do: Expectations around how quickly an initial review can be expected.

Open questions

What is the research on code reviews? See also: The purpose of code review is not to find defects.

How do code reviews differ…

See also

Note last edited April 2024.