10 Facts About Run-time polymorphism

1.

In programming language theory and type theory, polymorphism is the provision of a single interface to entities of different types or the use of a single symbol to represent multiple different types.

FactSnippet No. 2,450,041
2.

Ad hoc Run-time polymorphism was a feature of Algol 68, while parametric Run-time polymorphism was the core feature of ML's type system.

FactSnippet No. 2,450,042
3.

Christopher Strachey chose the term ad hoc Run-time polymorphism to refer to polymorphic functions that can be applied to arguments of different types, but that behave differently depending on the type of the argument to which they are applied.

FactSnippet No. 2,450,043
4.

Parametric Run-time polymorphism allows a function or a data type to be written generically, so that it can handle values uniformly without depending on their type.

FactSnippet No. 2,450,044
5.

Parametric Run-time polymorphism is a way to make a language more expressive while still maintaining full static type-safety.

FactSnippet No. 2,450,045

Related searches

Christopher Strachey
6.

Parametric Run-time polymorphism is ubiquitous in functional programming, where it is often simply referred to as "Run-time polymorphism".

FactSnippet No. 2,450,046
7.

Row Run-time polymorphism is a similar, but distinct concept from subtyping.

FactSnippet No. 2,450,047
8.

Static Run-time polymorphism executes faster, because there is no dynamic dispatch overhead, but requires additional compiler support.

FactSnippet No. 2,450,048
9.

Further, static Run-time polymorphism allows greater static analysis by compilers, source code analysis tools, and human readers.

FactSnippet No. 2,450,049
10.

When Run-time polymorphism is exposed via a library, static Run-time polymorphism becomes impossible for dynamic libraries as there is no way of knowing what types the parameters are when the shared object is built.

FactSnippet No. 2,450,050