Re:Parse, Don't Validate (2019)
by ocharles on Tuesday March 07, 2023 @07:03AM
(#35054386)
This isn't strictly true, an alternative is to have a language with enough encapsulation that you can parse into something that can only be observed as correct. The underlying parsing doesn't have to parse into sum types, provided your observation functions always preserve the parsed invariants.
[ Parent
| on HN ]
There are no comments on this comment yet.