All chapters · Common AI mistakes

  1. 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.

  2. 03
    Don't use spread for state transitions

    Types stop you from writing what shouldn't be there. They don't stop you from dragging along what already was.