Duck test

From Wikipedia, the free encyclopedia
Jump to: navigation, search
A duck

The duck test is a humorous term for a form of inductive reasoning. This is its usual expression:

If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.

The test implies that a person can identify an unknown subject by observing that subject's habitual characteristics. It is sometimes used to counter abstruse arguments that something is not what it appears to be.

Contents

[edit] History

Indiana poet James Whitcomb Riley (1849–1916) may have coined the phrase when he wrote "when I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck."[1][2] The phrase may also have originated much later with Emil Mazey, secretary-treasurer of the United Auto Workers, at a labor meeting in 1946 accusing a person of being a communist.[3]

The term was later popularized in the United States by Richard Cunningham Patterson Jr., United States ambassador to Guatemala during the Cold War in 1950, who used the phrase when he accused the Jacobo Arbenz Guzmán government of being Communist. Patterson explained his reasoning as follows:

Suppose you see a bird walking around in a farm yard. This bird has no label that says 'duck'. But the bird certainly looks like a duck. Also, he goes to the pond and you notice that he swims like a duck. Then he opens his beak and quacks like a duck. Well, by this time you have probably reached the conclusion that the bird is a duck, whether he's wearing a label or not."[4]

Later references to the duck test include Cardinal Richard Cushing's, who used the phrase in 1964 in reference to Fidel Castro.[5][6]

Variants include Douglas Adams' Dirk Gently's Holistic Detective Agency:

If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family anatidae on our hands.

The Liskov Substitution Principle in computer science is sometimes expressed as a counter-example to the duck test:

If it looks like a duck and quacks like a duck but it needs batteries, you probably have the wrong abstraction.[7]

[edit] See also

[edit] Notes

[edit] References

  • Christy, Howard Chandler; Ethel Franklin Betts (1982), The complete works of James Whitcomb Riley 
  • Denver, Joseph; Ethel Franklin Betts (1965), Cushing of Boston: A Candid Portrait 
  • Immerman, Richard H. (1982), The CIA in Guatemala: The Foreign Policy of Intervention, Austin, Texas: University of Texas Press 
Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages