Re:Golang generics proposal has been accepted
by sdfsfsf3kjdf on Wednesday February 10, 2021 @04:12PM
(#26094877)
How exactly are you going to implement a type safe option type without generics? You either have to use interface{}, which is obviously not type safe, or write/generate an option type for every type contained within it. Sum types are a lot less useful if you don't have generics.
[ Parent
| on HN ]