Identity vs equality (was Re: [Newbies] Assignment)
stephane ducasse
stephane.ducasse at free.fr
Sat Aug 11 16:51:17 UTC 2007
>>
>> 'Hello' = #'Hello' -> true
>>
>> #'Hello' = 'Hello' -> false
>>
>> ...that seems to indicate something is a bit wrong. ;)
>>
>> regards, Göran
>
> In 3.10 they both evaluate to true.
Why does it make sense?
I do not understand why #'hello' as a symbol should be = to 'hello'.
It would have been good that such an important change would have been
discussed
on the mailing-list.
Stef
More information about the Squeak-dev
mailing list
|