[Zope3-dev] proposal: replace zope.schema.Sequence with
zope.schema.Collection
Martijn Faassen
faassen at infrae.com
Mon May 3 06:40:18 EDT 2004
Stephan Richter wrote:
> On Thursday 29 April 2004 08:08, Martijn Faassen wrote:
>
>>It's not more explicit, because a Python programmer should understand
>>that lists are unordered and that sets are unordered if they're using
>>them at all.
>
>
> I guess you meant that lists are ordered.
Whoops, yeah, sorry.
>>The first is more verbose and you have to look harder to figure out an
>>important property.
>
>
> I guess that's a matter of taste. Of course the List and Tuple field could
> also enforce that the Python list and tuple types are used.
It's probably a matter of taste, indeed.
Regards,
Martijn
More information about the Zope3-dev
mailing list