3 ms·
People want a table, like in rdbms. Hashmap is what them get. The properties of it (only useful as a direct index) is too narrow for the kind of use that in La
by mamcx 5y ago
People want a table, like in rdbms.
Hashmap is what them get. The properties of it (only useful as a direct index) is too narrow for the kind of use that in Langs like python has, where a dictionary is used everywhere (like a vector).
How some argue a hash map must be used (only useful to get a direct index) is like saying "vector can be used to only get a positional index") and wonder why people iterate it.
In other words: Collection want to be iterated.