On Tue, Jul 15, 2008 at 6:56 PM, Benji York <[EMAIL PROTECTED]> wrote:
> When one says that a class *provides* an interface they're saying that
> instances of that class *implements* the interface.

Sorry, you got that backwards.  Instances provide the interfaces their
class implements.

> On the other hand, lets say you had an IFooFactory interface that only
> required that objects *providing* it be callable.  In that case a class
> Foo itself can *provide* the interface (because the class is callable).

This is right.


Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
Zope3-users mailing list

Reply via email to