Here are your hashmaps:
https://reference.wolfram.com/language/guide/Associations.ht...
Awesome. Is this a new thing? I can't find it in the Mathematica 9 documentation.
So now there's just strong types and something like records left for me for general purpose development.
Yep, they are marked as new here: https://reference.wolfram.com/language/ref/Association.html
Re:Wolfram Language
by statusgraph on Friday November 22, 2013 @09:56PM
(#6785015)
They've existed in a significantly more powerful form as DownValues since Mathematica's release.
what's wrong with just using
obj["a"] = 1;
obj["b"] = 2;
Print[obj["a"]]
or obj = { "a" -> 1, "b" -> 2 };
Print["a" /. obj]
?
I'd kill for hashmaps, some sort of records and strong typing in Mathematica.