Buzzword Buster – Duck Typing

The term ‘duck typ­ing’ is often used to describe a type of dynam­ic typ­ing in pro­gram­ming lan­guages where the object’s cur­rent set of meth­ods and prop­er­ties deter­mines the valid seman­tics.


duck test — If it looks like a duck, swims like a duck and quacks like a duck, then it prob­a­bly is a duck