|
|
|
|
|
by cies
523 days ago
|
|
Just having sum types is not enough: you need some level of type safety and exhaustivity checking in match/switch statements to truly benefit from them. Go does not. Java did not (maybe now with sealed types and exhausitvity checks on switch statement, but not sure if they've already landed). |
|