On Wednesday 13 December 2006 11:19, Christian Theune wrote:
> I propose to include the given function in zope.schema or
> zope.interface. Eventually this could also be spelled as a method on a
> schema (symmetrical to field.set): schema.set(object, data)
I do not care much about it either way, but I rather write out my arguments
for clarity. Usually I just have the required or object-identifying
attributes in the constructor argument list and writing content objects is
such a infrequent task (compared to other development) that I do not mind.
The task is even less tedious, if you write doctests before you code.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list