|
|
|
|
|
by grumpyprole
1048 days ago
|
|
Go's lack of sum types mean that there is no static check for whether the error has actually been handled or not. Go's designers went to all the trouble of having a static type system, but then failed to properly reap the benefits.
Sum types are the mathematical dual of product types. It makes sense for any modern language to include them. |
|