On approximately 3/3/2009 4:51 PM, came the following characters from
the keyboard of Greg Ewing:
Terry Reedy wrote:
I almost agree, except that the API uses the dict, not list, API.
Yes, as long as the API is dict-like, it really needs to
be thought of as a kind of dict.
Perhaps the terminology should be
ordereddict -- what we have here
sorteddict -- hypothetical future type that keeps
itself sorted in key order
FIFOdict ? Yeah, that blows the capitalization scheme, way, way out.
The problem with the ordereddict/OrderedDict/odict is that there are way
too many possible orderings, and without being more specific
(InsertionSequenceOrderPreservingDictionary) people are doing to think
"sort" when they hear "ordered".
I think FIFOdict is a reasonable abbreviation for
InsertionSequenceOrderPreservingDictionary :)
--
Glenn -- http://nevcal.com/
===========================
A protocol is complete when there is nothing left to remove.
-- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com