Re:Go generics are not bad
by red_admiral on Saturday July 09, 2022 @05:09AM
(#32033265)
Isn't the java problem that (a) the + operator is only defined for some built-in types, and (b) the int/Integer boxing distinction?
[ Parent
| on HN ]
Re:Go generics are not bad
by throwaway234232 on Saturday July 09, 2022 @09:48AM
(#32035052)
Right, you can't overload the + operator, and primitives can't be used in generics.