4 ms·
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 add
by Fire-Dragon-DoL 5y ago
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