Bombay duck Mail (or Bombay "Daak") thus reeked of the fish smell and "You smell like the Bombay Daak" was a common term in use in the days of the British Raj. In Bombay, the local English speakers then called it so, but it was eventually corrupted into "Bombay duck". Nonetheless, the "Oxford English Dictionary" dates "Bombay duck" to at least 1850, two years before the first railroad in Bombay was constructed, making this explanation unlikely. According to local Bangladeshi stories, the term Bombay duck was first coined by Robert Clive, after he tasted a piece during his conquest of Bengal. He
Duck typing in a way that it does not support. class Duck: class Airplane: class Whale: def lift_off(entity): duck = Duck() airplane = Airplane() whale = Whale() lift_off(duck) # prints `Duck flying` lift_off(airplane) # prints `Airplane flying` lift_off(whale) # Throws the error `'Whale' object has no attribute 'fly'` Certain usually statically typed languages such as Boo and the version 4 release of C# have extra type annotations Templates in C++ allow the language to use compile-time duck typing. Duck typing is similar to, but distinct from structural typing. Structural typing is a static typing system that determines type compatibility and equivalence by