Bombay duck Fresh fish are usually fried or cooked in curry. At one time, 13 tonnes of Bombay duck were eaten in the UK each year. Following the discovery of a batch of imported seafood contaminated by "Salmonella" in 1996, the European Commission (EC) prohibited fish imports from India other than from approved freezing and canning factories. As Bombay duck is not produced in a factory, this had the unintended consequence of banning the import of Bombay duck. After a campaign to "Save Bombay Duck", the Indian High Commission approached the EC about the ban, and the EC adjusted its regulations so
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