Hacker News new | ask | show | jobs
by joshuamorton 1986 days ago
They're sort of the same. If you have str and safestr, and safestr is known to confiorm to some invariant, the illegal state of a, say str where validate hasn't been called, isn't representable.