[ZPT] zope3-dev proposal on changing implicitly calling
    Steve Alexander 
    steve at cat-box.net
       
    Fri Jun 20 23:04:27 EDT 2003
    
    
  
>  > I recently made a proposal on the Zope 3 mailing list that may be of 
>  > interest to this list. (I am not subscribed to this list.)
>  > 
>  >    http://mail.zope.org/pipermail/zope3-dev/2003-June/007372.html
>  >     3: Making the zope 3 default traversal machinery call an object on
>  >        traversal if and only if the following conditions hold:
>  > 
>  >        a: the object provides no interfaces
> 
> What's the motivation for this?
> Why should an object with interface not be (automatically) callable?
In the longer message to the zope3 mailing list (linked above), I 
explain that an object that provides interfaces is actively declaring 
how it should be used. Automatically calling something is implicit 
behaviour. I think we should do things implicitly only when we don't 
have any better knowledge to help us make a decision.
In a reply to my message to the zope3 list, Phillip Eby has cast doubt 
on the usefulness of the distinction of objects that provide interfaces 
and those that do not.
--
Steve Alexander
    
    
More information about the ZPT
mailing list