duck typing
Short definition from Wiktionary
Noun
- 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.
We haven’t written up duck typing yet: Simple and Standard meanings, examples and a quiz.