Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
- Subject: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
- From: Nicko van Someren <email@hidden>
- Date: Mon, 7 Jun 2004 16:09:06 +0100
On 7 Jun 2004, at 15:20, Marco Scheurer wrote:
On Jun 7, 2004, at 1:04 PM, Patrick Machielse wrote:
The design bug is in your MyObject class, which creates copies which
are not
'equal', not in NSDictionary.
And please let me also point out that NSSet is implemented differentl,
i.e. unlike NSDictionary, which at least hows some inconsistency. IMHO
NSSet's implementation is "correct".
I think this thread is starting to drag a bit. It's clear that you
have an opinion on of how NSDictonary should work which is different
from the view held by the designers of that class. Personally, I have
never had any problem with this in any practical case. Might I suggest
that you simply agree to differ with the NSDictionary designers? Given
that this is Objective-C you can always sub-class the dictionary class
and fix the behaviour if it really causes you that much trouble.
Nicko
_______________________________________________
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.