A good point. Newer languages influenced by Go, like Vlang[1], have sum types partially for such reasons.
[1]: https://github.com/vlang/v/blob/master/doc/docs.md#sum-types
[1]: https://github.com/vlang/v/blob/master/doc/docs.md#sum-types
No comments yet.