On Monday 11 July 2005 05:46, Bernd Dorn wrote:
> Pupeno wrote:
> > I am reading
> > http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/Zope3Boo
> >k/contentobject.html and I am wondering about the choice of interfaces.
> > Why not just making an interface IMessage(IContainer) (instead of
> > IMessage(Interface)) and avoid having to make
> > IMessageContained(IContained) and
> > IMessageContainer(IContainer) ?
>
> i think because of the preconditions - to define them you need IMessage
> defined, which would not be the case in the class definition of IMessage

Right, it allows us to avoid recursion problems and abstract interfaces 
better.

Pupeno, please note that you should really use the paper copy. I am not 
currently supporting the online version, since I know it has some mistakes in 
it.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to