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:

    “Revolutions are the periods of history when individuals count most.”
    —Norman Mailer (b. 1923)

    “There are two great unknown forces to-day, electricity and woman, but men can reckon much better on electricity than they can on woman.”
    —Josephine K. Henry, U.S. suffragist. As quoted in History of Woman Suffrage, vol. 4, ch. 15, by Susan B. Anthony and Ida Husted Harper (1902)

    “Humankind has understood history as a series of battles because, to this day, it regards conflict as the central facet of life.”
    —Anton Pavlovich Chekhov (1860–1904)