[Grok-dev] Re: grok.Interface?

Jan-Wijbrand Kolman janwijbrand at gmail.com
Thu Jun 26 03:52:08 EDT 2008


Kevin Teague wrote:
> Has making zope.interface.Interface available as grok.Interface been
> considered?
snip
> But I like the idea of doing fewer imports for very commonly used stuff :)

Personally I would be against this. I generally do not even use:

   ...
   grok.implements(IWhatever)
   ...

but use:

   from zope import interface
   ...
   interface.implements(IWhatever)
   ...

since it makes learning about what *Zope* *is* and what it provides easier.


regards,
jw



More information about the Grok-dev mailing list