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:

    We said that the history of mankind depicts man; in the same way one can maintain that the history of science is science itself.
    Johann Wolfgang Von Goethe (1749–1832)

    The history of every country begins in the heart of a man or a woman.
    Willa Cather (1876–1947)

    Universal history is the history of a few metaphors.
    Jorge Luis Borges (1899–1986)