[Grok-dev] Naming of grok.provides

Kit BLAKE kitblake at gmail.com
Sun Oct 19 06:17:00 EDT 2008


2008/10/18 Christian Theune <ct at gocept.com>

> On Tue, 2008-10-14 at 10:02 +0200, Philipp von Weitershausen wrote:
> > Or grok.register_for(). Consider this example::
> >
> >    class FooBar(grok.GlobalUtility):
> >        grok.implements(IBar, IFoo)
> >        grok.register_for(IFoo)
> >
>
> register_for doesn't fit the pattern of the current terminology. The
> current names are all declarative,  whereas `register_for` sounds
> imperative.


'registers_for'?

-- 
Kit BLAKE · Infrae · http://infrae.com/ + 31 10 243 7051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20081019/1b5b7523/attachment.html 


More information about the Grok-dev mailing list