3 ms·
Not terribly excited for generics.
by arwineap 5y ago
Not terribly excited for generics.
- sigmonsays 5y agoI have this concern too. I wish to remain optimistic though. i've enjoyed go for its simplicity. At times it requires more code (or code generation) but that generated code was easier to debug and have tooling operate on. With generics, Some things will suffer. Complexity of code and tooling increases, tooling is probably going to suffer and become more costly. compile time and performance will probably also be affected. Generics are likely only great for collections of things, ie []*T, where, you need to do the same thing on many of T.