--- Begin Message ---Hello, some classes, like Symbols or SmallIntegers, shares identity of value instances in the whole image (I may say it wrong), so:1 == 1 copy. [true] #aaa == #aaa copy. [true] all other classes not, like Strings, Objects etc., so: 'aaa' == 'aaa' copy. [false] Is there any test method (maybe on the class side) I could ask for this (isXXX)? Thanks! pf
--- End Message ---
[Pharo-users] how to test, if the class has "shared identity" of instances in the whole image (SmallIntegers, Symbols...)
Petr Fischer via Pharo-users Wed, 20 Feb 2019 10:32:32 -0800
- [Pharo-users] how to test, if the class has &... Petr Fischer via Pharo-users
- Re: [Pharo-users] how to test, if the cl... Richard O'Keefe
- Re: [Pharo-users] how to test, if th... Petr Fischer via Pharo-users