News for hackers. Stuff that matters.
Re:Parse, Don't Validate (2019) by autophagian on Tuesday March 07, 2023 @07:36AM (#35054626)
I suppose that every successful parse also has an implicit validation step in it. Like you said, for me the principle is more about embedding that validation step into an actual type rather than crossing my fingers and hoping that whatever's coming into my function is what I expect it to be.

There are no comments on this comment yet.