Definition 2023


generic type



generic type (plural generic types)

  1. (object-oriented programming) A type which can be instantiated with any other type.
    • 1977, Jacques André, Implementation and Design of Algorithmic Languages:
      We call generic type a parametrized specification defining a family of types. Each member of that family is characterized, in a defining occurrence, by its generic name and its actual parameters.
    • 2006, Patrick Smacchia, Practical .NET2 and C#2, Paradoxal Press:
      A generic type is a type that is parameterized by one or several other types.