Category
page 1Polymorphism (computer science)
polymorphism
in programming languages and type theory, accessing different types using a common interface
dynamic dispatch
process of selecting which implementation of a polymorphic operation (method or function) to call at run time
variance
relationship between a generic type or a function and a component type on subtyping
generics in Java
form of abstraction for type or method to allow them to be functions of a type parameter
multiple dispatch
feature of some programming languages
System F
typed lambda calculus
subtyping
In programming language theory, subtyping (also called subtype polymorphism or inclusion polymorphism) is a form of type polymorphism. A subtype is a datatype that is related to another datatype (the supertype) by some notion of substitutability, meaning that program elements (typically subroutines or functions), written to operate on elements of the supertype, can also operate on elements of the subtype.
parametric polymorphism
basis of generic programming
ad hoc polymorphism
applying polymorphic functions to arguments of different types