Oddballs and clonability
Pupeno
pupeno at pupeno.com
Thu Oct 7 05:28:19 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday October 7 2004 02:44, nicolas.pelletier3 at free.fr wrote:
> > But at the end of that same section, another fact is explained: The clone
> > messages is available and it makes a clone that "doesn't work as
> > expected". So, are oddballs clonable or not ?
>
> Some lines further in the same section, there is a warning about this
> fact, documenting it as a known issue...
It is not clear enough that is a warning of known issue, something that should
be fixed, a bug. At least, I didn't understand it.
I'd say something like: "Note: Currently, because of a known problem in Slate
inheritance, the clone message is available for any Slate object, including
Oddballs, and always produce a new, bitwise identical copy of its receiver.
You should therefore be extra careful when the result of a clone is used
inside a test, since all of the following expressions return False."
Thank you... thank you for the tutorial, it is much improved :D
- --
Pupeno: pupeno at pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBZTZmfW48a9PWGkURAhMNAKCBkSO1KwGMK6wLdnkWe+2i9u2NYACdGT0Y
0h/tSO1qkbUXrP5ybv/eYZk=
=Gz1+
-----END PGP SIGNATURE-----
More information about the Slate
mailing list