You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
Popping from a Set/Map is actually very useful, regardless of whether there's a direction/ordering or not. The semantics are just "remove one arbitrary value from the set and give it to me", which is annoyingly clumsy to implement by hand.
I've used .pop() in Python several times, and felt the lack of it in JS projects.
The text was updated successfully, but these errors were encountered:
Popping from a Set/Map is actually very useful, regardless of whether there's a direction/ordering or not. The semantics are just "remove one arbitrary value from the set and give it to me", which is annoyingly clumsy to implement by hand.
I've used
.pop()
in Python several times, and felt the lack of it in JS projects.The text was updated successfully, but these errors were encountered: