News for hackers. Stuff that matters.
Re:PEP 584 – Add + and – operators to the built-in dict class by meatball-farmer on Wednesday March 06, 2019 @07:51AM (#19318482)
I think he's flipping your point: sets are a subclass of dicts/maps, not vice-versa. Thinking of a maps as a set where it's value maps to something else sounds backwards because values in sets don't map to values arbitrarily (or at all in some cases); maps are maps.

There are no comments on this comment yet.