Re:Why Go and Not Rust?
by zenhack on Monday September 16, 2019 @05:20PM
(#20988686)
Yeah, most "good" uses of this technique are kindof abusing it to substitue for some other feature the language doesn't have, the most common of which I can think of is combining it with type switches to get a poor-man's sum types (what rust calls enums). You see this a lot in code working with ASTs, especially.
[ Parent
| on HN ]
There are no comments on this comment yet.