Dictionary keys that exist but can't be found
tim at jump.net
Mon Apr 15 12:49:48 UTC 2002
> I was actually using Association because it was an existing class with
> two inst vars (holding two values and equality comparison was all the
> behavior I required).
Richard O'Keefe replied:
>What's wrong with Point?
Point probably would have worked. But the tuples I was building were
symbol, integer pairs, which looks a bit strange in a Point, as they
usually hold two numbers. Associations were a much more obvious choice,
except for the equality problem.
More information about the Squeak-dev