On Monday 18 October 2004 05:39 pm, firstname.lastname@example.org wrote:
This breaks down for the perfectly reasonable case of:
ie, it breaks down as soon as you try to re-use anything, which is quite surprising to the unsuspecting user, and pretty unfortunate even once you do understand why.
This approach is used to advantage for Zope 3 schema. If you don't want to confuse the ordering, you don't re-use field objects (the things that go in schema). If you don't care about the ordering (because you're going to control ordering some other way), you don't need to worry about it.
This is still Python; use what makes sense for your application, but know what you're doing. The "consenting adults" playground expects consenting adults to educate themselves. Good documentation comes in handy with frameworks such as these.