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:

    “The history of the Victorian Age will never be written: we know too much about it.”
    —Lytton Strachey (1880–1932)

    “... all big changes in human history have been arrived at slowly and through many compromises.”
    —Eleanor Roosevelt (1884–1962)

    “The history of the genesis or the old mythology repeats itself in the experience of every child. He too is a demon or god thrown into a particular chaos, where he strives ever to lead things from disorder into order.”
    —Ralph Waldo Emerson (1803–1882)