kids encyclopedia robot

Duck typing facts for kids

Kids Encyclopedia Facts

In computer programming with object-oriented programming languages, duck typing is a way to write computer code. It doesn't demand that you know what types you are writing about. If it does what you thought it would do, it is good enough. The reason this is called "duck typing" is the duck test.

It was invented by James Whitcomb Riley:

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.

See also

Kids robot.svg In Spanish: Duck typing para niños

Black History Month on Kiddle
Famous African-American Artists:
Emma Amos
Edward Mitchell Bannister
Larry D. Alexander
Ernie Barnes
kids search engine
Duck typing Facts for Kids. Kiddle Encyclopedia.