4 ms·
Sibling comment has some evidence to the contrary but I've always thought of it as a Java marketing term. It lets you write generic classes e.g. "I can write a
by bjackman 5y ago
Sibling comment has some evidence to the contrary but I've always thought of it as a Java marketing term.
It lets you write generic classes e.g. "I can write a generic container class that automatically works for any contained type". It's imprecise (you can describe lots of programming language features as enabling "genericity") but I think it makes sense as a descriptive term.
- olliej 5y agoI felt "generics" became the term of industry to contrast to templates, and then if some environment provides generics it is wholesome and good vs nasty template metaprogramming. I also think in that in the context of managed environments .NET was also pushing "generics" terminology (again vs templates) at the same time, and across more languages.