Re:Why I prefer scheme to Haskell
by jrockway on Monday April 09, 2012 @02:08PM
(#3818340)
You can easily define your own type that is "everything". But how useful is a dict in python with keys and values of varying types? I've certainly never used one.
[ Parent
| on HN ]
It's very useful.
Use it like you'd use a bare object in Javascript, as a freeform data container to hold whatever properties you need. A bit like a key-value NoSQL store, actually.
Values, yes, but keys?