3 ms·
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)
by dkersten 14y ago
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).
- aamar 14y agoI'm going to try out "mapping" -- good suggestion.