[Grok-dev] Mystery of the Day

Brandon Craig Rhodes brandon at rhodesmill.org
Wed Dec 17 09:29:50 EST 2008


Today's Mystery of the Day: why is the function

   zope.component.interface.provideInterface()

not named

   zope.component.interface.registerUtility()

instead?  The name "provideInterface" sounds like something that would
operate upon a class and mark it as providing the interface - or, better
yet, it sounds like a directive one would use when defining a class.

-- 
Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon


More information about the Grok-dev mailing list