When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Polymorphism (computer science) - Wikipedia

    en.wikipedia.org/wiki/Polymorphism_(computer...

    t. e. In programming language theory and type theory, polymorphism is the use of a single symbol to represent multiple different types. [1] In object-oriented programming, polymorphism is the provision of a single interface to entities of different types. [2] The concept is borrowed from a principle in biology where an organism or species can ...

  3. Dynamic dispatch - Wikipedia

    en.wikipedia.org/wiki/Dynamic_dispatch

    Polymorphism. In computer science, dynamic dispatch is the process of selecting which implementation of a polymorphic operation (method or function) to call at run time. It is commonly employed in, and considered a prime characteristic of, object-oriented programming (OOP) languages and systems.

  4. Operator overloading - Wikipedia

    en.wikipedia.org/wiki/Operator_overloading

    In computer programming, operator overloading, sometimes termed operator ad hoc polymorphism, is a specific case of polymorphism, where different operators have different implementations depending on their arguments. Operator overloading is generally defined by a programming language, a programmer, or both.

  5. Multiple dispatch - Wikipedia

    en.wikipedia.org/wiki/Multiple_dispatch

    Multiple dispatch or multimethods is a feature of some programming languages in which a function or method can be dynamically dispatched based on the run-time (dynamic) type or, in the more general case, some other attribute of more than one of its arguments. [1] This is a generalization of single-dispatch polymorphism where a function or ...

  6. Virtual function - Wikipedia

    en.wikipedia.org/wiki/Virtual_function

    Virtual functions are an important part of (runtime) polymorphism in object-oriented programming (OOP). They allow for the execution of target functions that were not precisely identified at compile time. Most programming languages, such as JavaScript, PHP and Python, treat all methods as virtual by default [1][2] and do not provide a modifier ...

  7. Parametric polymorphism - Wikipedia

    en.wikipedia.org/wiki/Parametric_polymorphism

    Polymorphism. In programming languages and type theory, parametric polymorphism allows a single piece of code to be given a "generic" type, using variables in place of actual types, and then instantiated with particular types as needed. [1]: 340 Parametrically polymorphic functions and data types are sometimes called generic functions and ...

  8. Row polymorphism - Wikipedia

    en.wikipedia.org/wiki/Row_polymorphism

    Row polymorphism. In programming language type theory, row polymorphism is a kind of polymorphism that allows one to write programs that are polymorphic on row types such as record types and polymorphic variants. [1] A row-polymorphic type system and proof of type inference was introduced by Mitchell Wand. [2][3]

  9. Generic programming - Wikipedia

    en.wikipedia.org/wiki/Generic_programming

    The "generic programming" paradigm is an approach to software decomposition whereby fundamental requirements on types are abstracted from across concrete examples of algorithms and data structures and formalized as concepts, analogously to the abstraction of algebraic theories in abstract algebra. [6] Early examples of this programming approach ...