Duck typing
Duck typing is about making an object suitable for a certain task based on its methods and properties rather than its type. It’s like this: if you see a dog (type) that quacks like a duck, then I will call that dog a duck (duck-typing). http://davidmles.com/blog/duck-typing/
Post a comment