If it walks like a duck and it quacks like a duck, then it must be a duck.
A programming style which does not look at an object's type to determine if it has the right interface...
[
add
]
[
|
|
...
]
If it walks like a duck and it quacks like a duck, then it must be a duck.
A programming style which does not look at an object's type to determine if it has the right interface...