Re:Typical: Data interchange with algebraic data types
by jcparkyn on Monday May 22, 2023 @02:58AM
(#36028275)
I'd imagine that most people voluntarily using go or similar languages wouldn't be too bothered by just having all the checks occur at runtime in the generated code, rather than encoding them in the type system.
Sum types are still awkward, but most languages can at least approximate them, minus some compile-time checks.
Sum types are still awkward, but most languages can at least approximate them, minus some compile-time checks.