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:

    “When we of the so-called better classes are scared as men were never scared in history at material ugliness and hardship; when we put off marriage until our house can be artistic, and quake at the thought of having a child without a bank-account and doomed to manual labor, it is time for thinking men to protest against so unmanly and irreligious a state of opinion.”
    —William James (1842–1910)

    “It’s a very delicate surgical operation—to cut out the heart without killing the patient. The history of our country, however, is a very tough old patient, and we’ll do the best we can.”
    —Dudley Nichols, U.S. screenwriter. Jean Renoir. Sorel (Philip Merivale)

    “There is no example in history of a revolutionary movement involving such gigantic masses being so bloodless.”
    —Leon Trotsky (1879–1940)