On Mon, Apr 13, 2009 at 5:29 PM, [email protected] <[email protected]> wrote: > Whatever way you slice it, bug or not, this is fairly toxic behaviour.
You can't dereference a null pointer, and you can't divide by zero. Must every possible occurrence of these be marked? nil is a very special value. Sometimes the API attaches a meaning to it -- for example, "pass nil to specify no options." Other times, the API expects you to have an object on hand. I wouldn't complain if all I got were strange looks when I asked you to add 3 + Banana. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
