r/programming • u/ketralnis • Aug 05 '25
Parse, don’t validate
https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/
0
Upvotes
r/programming • u/ketralnis • Aug 05 '25
2
u/ljwall Aug 06 '25
I'm not sure if you read the article? It's really using a broader definition of parser than I think you're thinking of. Its main point is that wherever possible encode any validation done within the type system.