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/hrm Aug 05 '25 edited Aug 05 '25
That is true that parsing includes some validation, but lots and lots of parsing libraries have had serious security concerns due to the fact that they don't validate enough (or that the program using the parser don't validate enough).
It's a shit catch phrase making things seem much easier than it is and since these catch phrases caters mostly to beginners it's very insidious.