OnlineWoerterBuecher.de
Internes

Lexikon


polymorphism


A concept first identified by Christopher Strachey (1967) and developed by Hindley and Milner, allowing types such as list of anything. E.g. in Haskell: length :: [a] -> Int is a function which operates on a list of objects of any type, a (a is a type variable). This is known as parametric polymorphism. Polymorphic typing allows strong type checking as well as generic functions. ML in 1976 was the first language with polymorphic typing. Ad-hoc polymorphism (better described as overloading) is the ability to use the same syntax for objects of different types, e.g. "+" for addition of reals and integers or "-" for unary negation or diadic subtraction. Parametric polymorphism allows the same object code for a function to handle arguments of many types but overloading only reuses syntax and requires different code to handle different types. See also generic type variable. In object-oriented programming, the term is used to describe a variable that may refer to objects whose class is not known at compile time and which respond at run time according to the actual class of the object to which they refer. (2002-08-08)

In addition suitable contents:
[ 2 ] [ = ] [ ad ] [ ag ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ arg ] [ argument ] [ as ] [ at ] [ b ] [ be ] [ bi ] [ bj ] [ bt ] [ by ] [ C ] [ cc ] [ Ch ] [ ch ] [ Christopher Strachey ] [ ck ] [ cl ] [ class ] [ co ] [ code ] [ com ] [ compile time ] [ con ] [ cr ] [ dd ] [ de ] [ diff ] [ ding ] [ du ] [ E ] [ ec ] [ ed ] [ ee ] [ eg ] [ er ] [ era ] [ es ] [ et ] [ fi ] [ file ] [ fo ] [ for ] [ function ] [ ga ] [ ge ] [ gen ] [ generic type variable ] [ gr ] [ gt ] [ gu ] [ h ] [ handle ] [ hat ] [ hing ] [ hose ] [ hr ] [ id ] [ ie ] [ iff ] [ il ] [ in ] [ int ] [ integer ] [ io ] [ ir ] [ is ] [ it ] [ ke ] [ ki ] [ kn ] [ la ] [ language ] [ Lex ] [ li ] [ list ] [ load ] [ ls ] [ ly ] [ M ] [ ma ] [ man ] [ metric ] [ ML ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ne ] [ ng ] [ nl ] [ no ] [ ns ] [ object ] [ object code ] [ object-oriented ] [ object-oriented programming ] [ om ] [ op ] [ overloading ] [ pa ] [ param ] [ parametric polymorphism ] [ pe ] [ ph ] [ ping ] [ Poly ] [ polymorphic ] [ pr ] [ program ] [ programming ] [ pt ] [ query ] [ rc ] [ re ] [ real ] [ reuse ] [ rl ] [ ro ] [ ru ] [ run ] [ run time ] [ S ] [ sa ] [ sam ] [ sc ] [ se ] [ sk ] [ sm ] [ so ] [ st ] [ su ] [ sy ] [ syntax ] [ T ] [ th ] [ theory ] [ to ] [ tr ] [ tron ] [ tt ] [ type ] [ ua ] [ um ] [ unary ] [ us ] [ va ] [ var ] [ variable ] [ ve ] [ win ] [ ws ] [ yt ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (6829 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0995 Seconds, with 17 Database-Queries
Zurück zur Startseite