duck typing

التعريفات والمعاني

== English == === Etymology === From the so-called duck test: “if it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.” === Noun === duck typing (uncountable) (programming) A style of dynamic typing in which an object's current set of methods and properties determines the valid semantics, rather than its inheritance from a particular class or implementation of a specific interface. ==== Hypernyms ==== ==== Translations ==== ==== See also ==== === Further reading === duck typing on Wikipedia.Wikipedia