Re: Ugly bug in Foundation, beware!
Re: Ugly bug in Foundation, beware!
- Subject: Re: Ugly bug in Foundation, beware!
- From: Marco Scheurer <email@hidden>
- Date: Thu, 3 Jun 2004 17:48:13 +0200
On Jun 3, 2004, at 3:05 PM, Ondra Cada wrote:
Hi all,
just bumped into this: mutable arrays do *NOT* deep copy upon receiving
-copy
This is not a bug: there are cases where you want to make a deep copy,
but they should be rare, and only you know what they are. Most
Smalltalk dialects have a deepCopy method, but the default for copy is
shallow, as it should be, in all of them.
Marco Scheurer
Sen:te, Lausanne, Switzerland
http://www.sente.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.