[Zope3-Users] Oh no, doncha violate the o-v-p

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 18 08:19:11 EDT 2005


On Thursday 29 September 2005 12:11, Christian Lueck wrote:
> I found a relatively easy way to write an addview for multiple objects.
> As this violates the object view paradigm (o-v-p) I'd like to have your
> expert critiques/comments: Are there any risks regarding the violation?

Well, it will make it very hard for other developers to read your code. As you 
can see from your code snippet below, the code is very bloated. Separation of 
concerns always adds developer overhead, but it is worth it for the sanity of 
later development.

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-users mailing list