All chapters · State design

  1. 01
    Bundle the updates that have to happen together

    Nobody got it wrong. Everyone carefully copied the code closest to hand.

  2. 02
    Make combinations that must never exist impossible to write

    A rule that depends on people paying attention falls apart the moment something that can't pay attention writes the code.