Buzzword Buster – Duck Typing

The term ‘duck typing’ is often used to describe a type of dynamic typing in programming languages where the object’s current set of methods and properties determines the valid semantics.

Why?

duck test – If it looks like a duck, swims like a duck and quacks like a duck, then it probably is a duck

2 thoughts on “Buzzword Buster – Duck Typing”

  1. Pingback: OO vs Functional vs Dynamic vs Static | theburningmonk.com

  2. Pingback: F# – inline functions and member constraints | theburningmonk.com

Leave a Comment

Your email address will not be published. Required fields are marked *