DictionaryAI

duck typing

Short definition from Wiktionary

Noun

  1. 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.