3 ms·
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/
by sdfsfsf3kjdf 6y ago
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.