2 ms·
These collections are often default defined as unordered collections; it’s just that people discovered over time that some were iterable even if the language do
by threatofrain 7y ago
These collections are often default defined as unordered collections; it’s just that people discovered over time that some were iterable even if the language docs said otherwise.
- tremon 7y agoI don't think ordering and iteration are related, are they? Whether something is sortable has no impact on whether it is enumerable.
- threatofrain 7y agoHow I think about it is if something is unordered then the iteration strategy is a question.
- Sean1708 7y agoWhat would it even mean for a container to be ordered if you can't iterate through it?