Re:Generics enabled by default in Go tip
by jolux on Saturday August 21, 2021 @01:16AM
(#28254421)
There are just things you can’t do without having generics in your language. User-defined collections, for one. Statically typed higher order functions, for another. To paraphrase (I believe) Bob Harper, you either have a statically typed language with generics, or you have a dynamically typed language. That’s the result of not having generics. Code that needs them becomes more dangerous and error-prone.
[ Parent
| on HN ]
There are no comments on this comment yet.