Parse, don't validate
Input is checked once, at the boundary, into a type that keeps what was checked, so the rest of the program never meets an invalid value.
Named by Alexis King.
Themes: Types and contracts
With an agent: Computational sensor, in Böckeler's grid.
Sources
- Parse, don't validate, Alexis King, 2019, lexi-lambda.github.io.