[EMAIL PROTECTED]:
>If it looks like a duck, and quacks like a duck, then for all practical
>purposes it supports the 'duck' interface.

The problem with that of course, is that there's much more to being a duck
than being called 'duck'.

public interface JarFile {
    void explode();
}
public interface NuclearBomb {
    void explode();
}
http://www.beust.com/weblog/archives/000269.html

-- 
René Pijlman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to