My undstanding of Duck Typing
摘要:
The definition of Duck Typing in wiki is ""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." My understanding is behavior over type, now. That is eazy to undstandin for the programmer who is using dynamic type programming 阅读全文