3 ms·
"Generics" or parametric polymorphism, first appeared in the 70's. So I don't think including this with Go 1.0 would have been rushing!
by grumpyprole 5y ago
"Generics" or parametric polymorphism, first appeared in the 70's. So I don't think including this with Go 1.0 would have been rushing!
- arghwhat 5y agoYeah, about that: just because the theory exists doesn't make it less work to design new elegant typesystems around them. Go actively decided against generics in the beginning to make a small and simple language. We will lose that now.
- grumpyprole 5y agoAs they will need to be retrofitted just like Java had to do, yes I'm sure there'll be warts. Had they been considered from the start, I'm sure it could have been much simpler.