| |
| | Three Paragraphs on Duck Typing » halostatue |
 | | David Vallner: In dynamically typed languages, the type of an object isn’t its “class” or any other predictable concept, it’s just the protocol it adheres to during its lifetime. |
 | | Of course, you rarely use even this aspect of dynamic typing - in fact, I can’t come up with a single noncontrived example for it, these things just don’t occur in daily coding. |
 | | But dynamic languages sure a heck faster to type, and the fact the compiler rarely bitches at all is very, very appealing to people that know what they’re doing most of the time. |
| www.halostatue.ca /2006/08/22/three-paragraphs-on-duck-typing (372 words) |
|