news.ycombinator.com
Parse, Don't Validate (2019)
The article argues that data should be parsed into types that make illegal states unrepresentable at system boundaries, rather than scattered through validation checks.
One line. Many voicesSeek and you shall find
news.ycombinator.com
The article argues that data should be parsed into types that make illegal states unrepresentable at system boundaries, rather than scattered through validation checks.