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)

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

    “While the Republic has already acquired a history world-wide, America is still unsettled and unexplored. Like the English in New Holland, we live only on the shores of a continent even yet, and hardly know where the rivers come from which float our navy.”
    —Henry David Thoreau (1817–1862)