lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Sep 24, 2008 at 5:07 PM, Greg Fitzgerald <garious@gmail.com> wrote:
> Wikipedia's criticism of duck typing:
> if it walks like a duck and quacks like a duck, it could be a dragon doing a
> duck impersonation

the whole point of polymorphism is to allow this......

> Douglas Adams:
> If it looks like a duck, and quacks like a duck, we have at least to
> consider the possibility that we have a small aquatic bird of the family
> anatidae on our hands.

..... as long as this is all you need

-- 
Javier