In the computer programming world will be exposed to a knowledge point--duck typing, called "Duck type".
It has an image explanation:
"When you see a bird walking like a duck, swimming like a duck, and barking like a duck, then this bird can be called a duck." "
How to understand this sentence?
Duck, if we don't know what it means. I define: Walking, swimming, barking birds-called "ducks".
I define this "duck", which can be said to be a classification, in this category, contains the common skills (walking, swimming and barking) birds.
This "duck" belongs to "duck type". For each member of this type (not only the "duck"), its classification is based on having a common skill, that is, what will be done, and do not care about what kind of bird you are.
Another example, we define: will be fighting, love legs people-called "man", then this "guy" also belongs to "duck type".
This is duck typing.
What is "duck type (duck typing)"?