Category:Programming paradigm/Generic: Difference between revisions
Content added Content deleted
(Moved content from paradigms page) |
No edit summary |
||
Line 22: | Line 22: | ||
Generics are sometimes said to be ''parametric'' or else ''static'' [[polymorphism|polymorphic]]. The effect of generic programming in [[object-oriented programming]] is achieved by means ''dynamic'' polymorphism. In this case generic programming is narrowed to the programming in terms of sets of types (i.e. classes), rather than arbitrary sets of language entities. |
Generics are sometimes said to be ''parametric'' or else ''static'' [[polymorphism|polymorphic]]. The effect of generic programming in [[object-oriented programming]] is achieved by means ''dynamic'' polymorphism. In this case generic programming is narrowed to the programming in terms of sets of types (i.e. classes), rather than arbitrary sets of language entities. |
||
[http://www.superiorpapers.com/ essays] |
|||
Historically generic programming first appeared in the form of macro languages and preprocessors. |
Historically generic programming first appeared in the form of macro languages and preprocessors. |