Dieter Maurer wrote:
Jim Fulton wrote at 2005-4-6 08:47 -0400:

...
Thoughts?


What about the rule "explicit is better than implicit"?

I suggest that this *is* explicit.

If I have:

  class Foo:
      implements(IFoo)

you are very explicitly saying what the class implements.

The proposed change is to not consider base classes.
Ultimately, this makes the algorithm simpler from a code
inspection point of view.

Does it make that much difference whether you specify the interface
explicitly or can omit it based on some elaborate algorithm?

It is a pain to have to *repeat* that information in the registration. I have found this to significantly reduce the burden of ZCML.

Jim

--
Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
_______________________________________________
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