3 ms·
I've found that generics are really only 'necessary' for building libraries. If you are writing applications or utilities, then you probably don't need it very
by Retra 12y ago
I've found that generics are really only 'necessary' for building libraries. If you are writing applications or utilities, then you probably don't need it very much.
- emsy 12y agoGenerics aren't necessary at all, but they are a powerful addition to the means of expression a language offers and have use cases beyond collections. So while it's not a deal breaker, it's definitely sad and hard to understand why they left them out. Especially when you know Java's history and the pain they went through when they finally added generics.
- Retra 12y agoYeah, true. I feel disappointed whenever anybody tries to tack generics onto an existing language. You can never really tell if it is done correctly or not.