News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by 9rx on Wednesday June 18, 2025 @11:20AM (#44310689)
> that's natural to do with like rust enums

Stands to reason. Rust "enums" are tagged unions (a.k.a. sum types, discriminated unions).

In implementation, the tag, unless otherwise specified, is produced by an enum, which I guess is why it got that somewhat confusing keyword.

There are no comments on this comment yet.