2 ms·
Oddly, I have pushed back on many devs introducing generic interfaces. For library writers, they can be nice. For everyone else, they typically just get you i
by taeric 8y ago
Oddly, I have pushed back on many devs introducing generic interfaces. For library writers, they can be nice. For everyone else, they typically just get you in trouble.
So, I don't want to remove them from the language. However, I do question a large percentage is their use in everyday programming.
- lederhosen 8y agoGenerics are useful all the time. That is why Go has generic Maps and slices. The question is why I am not allowed to use other generic collections.
- taeric 8y agoNo, generic collections are pretty much useful all of the time. Other generic things are useful when done well.