3 ms·
> re: generics: If they aren't implemented carefully, they could unacceptably complicate the language. Can you explain why? For example, simple generics which
by dispose13432 10y ago
> re: generics: If they aren't implemented carefully, they could unacceptably complicate the language.
Can you explain why?
For example, simple generics which could be implemented as regex doesn't seem to complicated? Am I missing something?
For example (in Java), an ArrayList <String> could be turned into a StringArrayList by a basic internal pre-processor.
- kazagistar 10y agoHow do you handle error messages? Can you make functions, methods or their parameters generic? Can you dynamically link generics?