Y
Hacker News
new
|
ask
|
show
|
jobs
by
Tozen
1047 days ago
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