Research Library · Idea
Parse, don't validate
Alexis King's 2019 advice to turn input into types that record what was checked, instead of checking it and keeping the raw value. Also: parse don't validate; type-driven parsing.

SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.Research Library · Idea
Alexis King's 2019 advice to turn input into types that record what was checked, instead of checking it and keeping the raw value. Also: parse don't validate; type-driven parsing.