Re:Safer Enums in Go
by ravi-delia on Saturday May 14, 2022 @11:41AM
(#31379049)
I don't think anyone ever struggled with sum types (or at least, I hope not), they associated them with things like Haskell's monads, which are less commonly accessible (though they're undeserving of their reputation too). The hate was a little silly, but algebraic data types are clearly just an extension of the concepts everyone already knew.
[ Parent
| on HN ]