A programming concept where an object's suitability is determined by the presence of certain methods and properties, rather than the object's actual type.
Named after the phrase 'If it walks like a duck and quacks like a duck, then it must be a duck.' The term was popularized by Python programmer Alex Martelli in 2000, though the concept existed earlier in dynamic languages.
Try Another Word