3 ms·
Why not consult the go faq to find their reasoning for omitting generics? > Generics are convenient but they come at a cost in complexity in the type system an
by tedunangst 11y ago
Why not consult the go faq to find their reasoning for omitting generics?
> Generics are convenient but they come at a cost in complexity in the type system and run-time. We haven't yet found a design that gives value proportionate to the complexity, although we continue to think about it.
The word performance doesn't appear in that paragraph.
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- pcwalton 11y agoYou're right, that was really stupid of me. I'll delete it.
- AnimalMuppet 11y agoComplexity in the type system can easily have a negative effect on compiler performance.