Identity vs equality (was Re: [Newbies] Assignment)

Alexander Lazarević Alexander at Lazarevic.de
Mon Aug 13 09:50:26 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Err ... so what is your point? Are you claiming that 1 should not equal
> 1.0?

? No.

> Or that there is a substantial difference between 'foo' and #foo
> and that they shouldn't compare equal?

Yes.

> Or that 'foo' = #foo but #foo ~= 'foo'?

No.

> *My* only point was that comparison should be symmetrical, as
> excemplified by the fact that iff 1 = 1.0 then 1.0 = 1.

Ah ... crossreading the thread I lost the symmetry aspect. Sorry for the
confusion.


Alex
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwCliYiF2wSTEZ9gRAntxAKCLoQrj6rcQ45JgJH8TknMT7EwNagCgzMNz
i0FM4fPnAwSHa9dsAJTtmuo=
=NBj0
-----END PGP SIGNATURE-----



More information about the Squeak-dev mailing list