• 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: Problem with NSMutableDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSMutableDictionary


  • Subject: Re: Problem with NSMutableDictionary
  • From: "Mark Munz" <email@hidden>
  • Date: Sun, 19 Aug 2007 11:27:00 -0700

On 8/19/07, Peter Duniho <email@hidden> wrote:

> Well, clearly this is a matter of opinion and it's apparent where the
> opinion of those who are already familiar with Cocoa lie.

Lie? Wow.. that's a pretty harsh accusation. I don't think anyone is lying.

> Just because there's already a rule that tells you that information,
> that doesn't mean there's no value in providing that information
> explicitly.

I disagree. It means that if one is missed, that may be interpreted as
not complying -- which could likely lead to a nasty memory bug. It is
much better to have a convention and then document the exceptions.

Examples of poorly commented code are often shown where the obvious is
stated. The problem is that important exception information can get
lost in the deluge of obvious information. You end up playing a "did
you notice the change" game -- which, IMHO, is very counterproductive.

--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with NSMutableDictionary
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Re: Problem with NSMutableDictionary (From: Peter Duniho <email@hidden>)

  • Prev by Date: Re: Responder chain messed up after window close...
  • Next by Date: Re: Problem with NSMutableDictionary
  • Previous by thread: Re: Problem with NSMutableDictionary
  • Next by thread: Re: Problem with NSMutableDictionary
  • Index(es):
    • Date
    • Thread