Re:Go Enums Suck
by yhavr on Saturday March 02, 2024 @07:34AM
(#39572142)
I agree that the type system should be better. And for some reasons, golang didn't even implement proper tuple types. However, now with generics, you can actually do Result[T] with all functions you described.
> in itself as well is inexcusable for a modern language
> in itself as well is inexcusable for a modern language
In Go, you can assign nils only to pointers