Hello Pharoers,

I was wondering, is it a good practice to have negative hashes ?

Based on the class comment of Object>>#hash

*"Answer a SmallInteger whose value is related to the receiver's identity.
[...]"*

The hash is a smallInteger and therefore can be negative.

Thanks for any answer.

Clement

Reply via email to