Re:Functional Programming in Go with Generics
by Fire-Dragon-DoL on Saturday May 29, 2021 @03:31PM
(#27327665)
Generics can and will be abused for terrible stuff, that's a reality.
There are however a bunch of spots where the difference in not having them is a lot of additional manual code, or unoptimized code using reflection.
Every language feature can be abused, that's why Go tries to have a small amount
Every language feature can be abused, that's why Go tries to have a small amount