News for hackers. Stuff that matters.
Re:Decoding JSON sum types in Go without panicking by bnpxft on Thursday March 20, 2025 @10:44AM (#43424189)
Yes exactly. The real world is full of examples of a fixed set of exclusive options.

A programming language without sum types and exhaustive pattern matching in its type system is unable model this real world concept in its type system.

There are no comments on this comment yet.