[Zope] Python Product Coding Guidelines? (constructor=...)
Chris McDonough
chrism@zope.com
Wed, 23 Jan 2002 09:05:36 -0500
I think that the "manage_" prefix to stuff should die. I actually
prefer calling the constructor constructFoo but nobody but me does that.
;-) I don't think there's an easy way to consensus... but you could
comment in the Dev Guide about it so that at least when folks read it
they wikll think about it too.,
Thomas Guettler wrote:
> Hi!
>
> When I "grep" for the constructor syntax in the __init__.py files I see
> that
> most people use the form constructor(manage_addFoo, ...)
>
> The DevGuide just calls the function addForm. I think it would be
> good if there would be a guideline. This makes it easier to read other
> peoples
> code.
>
> What do you think?
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
"Killing hundreds of birds with thousands of stones"