3 ms·
Good point, but close enough! My points about how it makes the data structure more awesome stands. FWIW I don't think people agree on whether "element order i
by skrebbel 7y ago
Good point, but close enough! My points about how it makes the data structure more awesome stands.
FWIW I don't think people agree on whether "element order is part of the value's identity" is part of the definition of "ordered map". There's plenty other languages & libs with ordered maps where the order isn't part of its identity but they still use the term "ordered map" in the name or the docs. Eg PHP's arrays or ImmutableJS's OrderedMap.