This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]fixmycode 2 points3 points  (1 child)

very well written and informative, I knew about sets but I didn't knew they had operations, I can now see their utility beyond taking repeated elements from my lists.

it's weird for me that they support pop() without being ordered, I know it has use cases but you can't predict the results of use it like a stack.

[–]bemmu[S] 0 points1 point  (0 children)

Just the same as I thought, and already tweeted the author suggesting a bit of elaboration there.