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: Marcel Weiher <email@hidden>
- Date: Mon, 7 Jun 2004 17:11:53 +0100
On 7 Jun 2004, at 16:09, Nicko van Someren wrote:
On 7 Jun 2004, at 15:20, Marco Scheurer wrote:
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: one of the reasons that the current implementation is broken is
that it *cannot* be fixed easily by subclassing!
Whereas the copying behavior *can* be added to a non-copying
implementation via subclassing.
That was one of the original points I made.
It would really help if people would (a) read and (b) understand what
was written before responding.
Cheers,
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
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.