[Zope3-dev] Re: yagni on overrides?

Jim Fulton jim at zope.com
Fri Apr 27 08:42:45 EDT 2007


I'll note, mostly in passing (drive by :) that overriding utilities,   
adapters, security setting and many other things,  works pretty well  
and has for a long time. What doesn't work well is disabling things  
or dealing with things, like subscribers that can't be overridden,  
because they never conflict. In practice, this usually doesn't matter  
because, elegance aside, there usually is no harm in having extra  
configuration.  Of course, there are times when it does matter, and I  
think we need something to help in those cases.

I do think that Leonardo makes a valid point that factoring  
configurations might work just as well.  If we had a way to disable  
configuration, say with a tagging system, then people would have to  
anticipate selective reuse by providing appropriate tags.  At this  
point, you might as well just factor the files.  Some of the  
proposals for configuration disabling didn't require explicit tagging  
but could use existing properties of configuration.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Zope3-dev mailing list