[Interface-dev] zope.interface calling an interface with no arguments

Daniel Krech eikeon at eikeon.com
Thu Sep 1 18:26:34 EDT 2005


On Sep 1, 2005, at 3:25 AM, Steve Alexander wrote:

> Cool.  Have you thought about following the Zope convention of tagging
> interface names with a capital "I" at the start?  It sounds a bit
> hungarian, but it does help a lot when reading code.

I have, but I view the interfaces as the important bit. So I prefer  
the interfaces have the name of the concept. The classes that  
implement the interfaces are less important implementation details  
IMO and I like to use different names for them: DefaultFoo, FooImpl,  
InMemoryFoo... maybe backwards hungarian FooI ;)

I know others that share this preference and it appears that both  
naming conventions are represented out in the wild.

Daniel Krech, http://eikeon.com/



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/interface-dev/attachments/20050901/79b00613/attachment.htm


More information about the Interface-dev mailing list