Re:TOML, Tom's Own Markup Language
by aamar on Sunday February 24, 2013 @02:14AM
(#5273229)
Sadly "map" is also the name of the critical "map" function which operates on lists. Maybe with an indefinite article ("a map") it's clear enough.
[ Parent
| on HN ]
Sure, so go the Lua route: table. Or the python route: dictionary. If neither of those do it for you, how about "mapping"?
Hash (and hash map, hash table etc) leak too much implementation detail. What if you want a tree-based mapping instead? I like how in C++ it's map (for ordered, rb-tree based maps) and unordered_map (for unordered, hash table based maps).