[Zope3-dev] Applying schema data on an object

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Dec 19 09:11:45 EST 2006


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.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list