duck!

Jimmy Cao jcao219 at gmail.com
Sat Oct 16 12:22:22 PDT 2010


According to wikipedia,
duck typing is a style of dynamic typing where an object's
methods/properties determine what i can do.

On Sat, Oct 16, 2010 at 2:14 PM, Kagamin <spam at here.lot> wrote:

> Michel Fortin Wrote:
>
> > The problem is that D doesn't have duck-typing. The adapter pattern
> > isn't duck-typing. Duck-typing is when you have an object and can call
> > a 'quack' function on it and if there's no 'quack' function you get a
> > runtime error.
>
> Isn't that dynamic typing?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101016/fa1901ad/attachment-0001.html>


More information about the Digitalmars-d mailing list