HomeServicesBlogDictionariesContactSpanish Course
← Back to search

Meaning of duck typing | Babel Free

Noun CEFR B2

Definitions

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.

uncountable

Equivalents

Deutsch Duck-Typing
Français duck typing

Examples

“Ruby proponents call this duck typing::^([sic]) if the variable responds to a message that asks it to quack like a duck and it quacks, it must be a duck. This is clearly different from the way that Java (and other strongly typed languages) work, […]”

CEFR level

B2
Upper Intermediate
This word is part of the CEFR B2 vocabulary — upper intermediate level.

See also

Learn this word in context

See duck typing used in real conversations inside our free language course.

Start Free Course