Re:Types as Interfaces
by nightski on Tuesday July 23, 2024 @10:43PM
(#41053164)
Throwing out type safety simply because you have unverified input is a little silly. It's trivial in most statically typed languages to safely turn input into a concrete type (or an error if it is invalid) at the edge and meanwhile maintain type safety throughout the rest of the code.
[ Parent
| on HN ]
There are no comments on this comment yet.