Duck Typing - History

History

Alex Martelli made an early (2000) use of the term in a message to the comp.lang.python newsgroup. He also highlighted misunderstanding of the literal duck test, which may indicate that the term was already in use:

In other words, don't check whether it IS-a duck: check whether it QUACKS-like-a duck, WALKS-like-a duck, etc, etc, depending on exactly what subset of duck-like behaviour you need to play your language-games with.

Read more about this topic:  Duck Typing

Famous quotes containing the word history:

    “Philosophy of science without history of science is empty; history of science without philosophy of science is blind.”
    —Imre Lakatos (1922–1974)

    “The whole history of civilisation is strewn with creeds and institutions which were invaluable at first, and deadly afterwards.”
    —Walter Bagehot (1826–1877)

    “The disadvantage of men not knowing the past is that they do not know the present. History is a hill or high point of vantage, from which alone men see the town in which they live or the age in which they are living.”
    —Gilbert Keith Chesterton (1874–1936)