Lennart Regebro wrote: > On Sat, Nov 28, 2009 at 16:39, Charlie Clark >> The >> most common example I know of the syntax is with INameChooser() which >> brings us back to the differences (real or imaginary) between utilities >> and adapters. > > I agree that calling an interface like that is a strange thing to do. I > don't know what that would do, even. I have however never ever seen that > done.
To me, it feels rather naturally like calling a class: both give you an object that has a well-defined relation to what you called, i.e. "is an instance of the class" or "provides the interface". Both relations are very similar IMO in that they describe how the object behaves and what you can do with it, the difference being only that calling an interface adds some abstraction and flexibility. -- Thomas _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )