At 05:40 PM 11/1/2001 -0600, Ian Bicking wrote:
>I think dictionaries make for pretty decent sets.  Just like lists
>make for decent stacks and queues (well, once we got the thread-safe
>.pop()).

In MiddleKit if you were to specify the type of an attribute as a 
dictionary, you would immediately wonder what the key is. But in the case 
of using the dictionary of set, the key no longer has the same meaninging 
the value is nonsense.

A set is non-ordered collection.
A dictionary is map from keys to values.

Being able to simulate one with the other, doesn't make it natural to work 
with or easy to understand.


-Chuck


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to