Skip to content

Code Review Checklist

Dan Connolly edited this page Mar 3, 2021 · 14 revisions

WIP. An initial draft based on a new team member's emerging understanding.

We delegate several checks to continuous integration tools:

But some aspects of house style are not automated:

  • Object Capability Discipline - minimizing, if not eliminating, ambient authority (#2160)
  • release notes; each package may use one of two styles:
  • care with interleaving points: "The hazard is that, when both writing and reading a program, especially when reading other people's programs, an explicit await is not salient enough for people to understand that there's a turn boundary there, and that arbitrary turns interleave at that point, invalidating stateful assumptions." -- erights Apr 2020

See also: code-style issue label.

todo:

  • get review by ... who was it? @erights and @warner?
  • CONTRIBUTING.md : move to or cite from
  • github PR template : move / copy to or cite from
Clone this wiki locally