|
|
|
|
|
by yhavr
834 days ago
|
|
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 Go, you can assign nils only to pointers |
|