Object-Orientation FAQ Please visit the new site and make a bookmark to it. This location will go away soon.
Generics provide for reusability in programming languages.
An example is a Stack with a generically parameterized base type. Another example is a polymorphic sort function taking a base type with a comparison operator. Generics can also be viewed as a special case of type variables. One such popular functional language is ML, in which all functions are generic.