• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)


  • Subject: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 7 Jun 2004 09:46:23 -0700

On Jun 7, 2004, at 9:07 AM, Marcel Weiher wrote:

Shawn,

could you please stop with the knee-jerk reactions? We are all aware of the documentation.

What?

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.

Ok it sure looks like you are being obtuse not me in this regard.

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...

Yeah me too stupid I guess.

-Shawn
_______________________________________________
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.


References: 
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Patrick Machielse <email@hidden>)
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Marco Scheurer <email@hidden>)
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Shawn Erickson <email@hidden>)
 >Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!) (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by Date: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Previous by thread: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Next by thread: Re: NSDictionary design bug (was: Re: Ugly bug in Foundation, beware!)
  • Index(es):
    • Date
    • Thread