Bombay duck is said to have associated the pungent smell with that of the newspapers and mail which would come into the cantonments from Bombay. The term was later popularized among the British public by its appearance in Indian restaurants in the UK. In his 1829 book of poems and "Indian reminiscences", Sir Toby Rendrag (pseudonym) notes the "use of a fish nick-named 'Bombay Duck'" and the phrase is used in texts as early as 1815. The Bombay duck lives in the tropical areas of the Indo-Pacific. The fish is also known as "strange fish" because of its discontinuous distribution along the
Duck typing Duck typing Duck typing in computer programming is an application of the duck test—"If it walks like a duck and it quacks like a duck, then it must be a duck"—to determine if an object can be used for a particular purpose. With normal typing, suitability is determined by an object's type. In duck typing, an object's suitability is determined by the presence of certain methods and properties, rather than the type of the object itself. This is a simple example in Python 3 that demonstrates how any object may be used in any context, up until it is used