|
|
|
|
|
by dkersten
3510 days ago
|
|
After a few years of Clojure(Script), where immutability means you can use almost anything as keys, I have found many cases where my python code would have been simpler and easier if I could use arbitrary objects (and therefore data structures) as keys. I mean, its not a huge deal, but it adds up. |
|
You can use pretty much anything as a dictionary key