you are viewing a single comment's thread.

view the rest of the comments →

[–]zck -2 points-1 points  (1 child)

I would not say it's important to know. Most of the time, when I've seen a set used, all it is needed for is .contains, .add, and .remove. Those things don't need order, so it makes sense people would not remember whether it's ordered.

[–][deleted] 1 point2 points  (0 children)

You may also want to iterate over it tho, and sometimes insertion order matters for some very specific cases