From: Ian B. <ia...@co...> - 2001-11-01 23:38:04
|
Chuck Esterbrook <Chu...@ya...> wrote: > >(Still hoping Python gets sets someday, pardon the pun. You can mimic > >them with dictionaries, but that's like driving a car across the street > >to get the mail.) > > I agree. It would also fit better with what MiddleKit is currently calling > a "list" but for which it doesn't really guarantee an order. > > I think list, set and map are the 3 Big Containers that every language > should have. 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()). Ian |