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:07:30 +0100
Shawn,
could you please stop with the knee-jerk reactions? We are all aware
of the documentation.
On 7 Jun 2004, at 16:00, Shawn Erickson wrote:
Nothing is wrong with either NSDictionary or NSSet, they document what
and how the do things (if not that is a documentation bug), you can
use them appropriately or not it is up to you.
OK, we've had this at least half a dozen times: the fact that the
wrong behavior is documented does not make it right.
Can you understand this? If not, please do not discuss this any
further.
The right thing to do, if you want something different then
NSDictionary, is to file a request with Apple for a say an NSMap class
which only retains keys and values (with a comment like you see for
NSSet). Apple could even refactor NSDictionary (and CF) so that it
leverages this new collection class without us caring or knowing.
Complaining about how NSDictionary doesn't act as one may want it to
act is pointless, it will not be changed since many folks depend on it
doing exactly what it is doing. It was a purposeful design decision
made at the time for the task it was designed for.
Sigh. You haven't even begun to understand what I am saying...
Cheers,
Marcel
_______________________________________________
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.