Category:Programming paradigm/Generic: Difference between revisions
Category:Programming paradigm/Generic (view source)
Revision as of 13:48, 22 July 2010
, 13 years agoReverted edits by Meghan (Talk) to last revision by Mwn3d
No edit summary |
|||
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.
Historically generic programming first appeared in the form of macro languages and preprocessors.
|