"If it quacks like a duck, looks like a duck, and walks like a duck, then its a duck." Where did it originate?
Five answers:
2007-03-20 19:50:33 UTC
It was either daffey or donald.
Kuji
2007-03-21 02:52:29 UTC
It probably originated with the "Hoosier poet" James Whitcomb Riley, sometime around 1883-1885, with the quote:
"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."
Martelli created the phrase duck typing for computers but the quote was in use before he adapted it to practical purposes.
Cotton
2007-03-21 02:52:06 UTC
The term is a reference to the duck test — "If it walks like a duck and quacks like a duck, it must be a duck". Alex Martelli is thought to have originated the term in a message to the comp.lang.python newsgroup.
Hal
2007-03-21 03:05:01 UTC
It may have been Adam Sandler -- but he probably would have said "If it looks like a blue duck and quacks like a blue duck, then it probably is a blue duck"
Pluto Corsini
2007-03-21 02:54:36 UTC
It was coined in 1950 by Richard Cunningham Patterson Jr., United States Ambassador to Guatemala, during the Cold War. Patterson accused the Jacobo Arbenz Guzmán government of being communist.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.