[Zope-dev] Versions: should they die?

Andy McKay andy@agmweb.ca
Tue, 03 Jun 2003 17:18:06 -0700


> IMO versions do nothing except complexify the code.  I believe it's an
> official Zope Corp position to discourage them for new projects.  Yet
> Jeremy Hylton seems to think that they are somehow useful and has
> carefully preserved them in ZODB 4 (== Zope 3).  If it were up to me,
> they would have been gone, with a big helping of YAGNI!

I think its worth pointing out that the main part of the problem with
versions is how they are implemented in Zope 2, not as they exist in the
ZODB. It might be fine and useful in the ZODB, in fact I remember some
use cases Jeremy pointed out that did sound useful.

The main problem really is the Zope implementation for example: you can
lock any object in a version that doesn't exists, it uses cookies,
trouble committing... etc.
-- 
  Andy McKay