Re: nil messaging? Is it safe?
Re: nil messaging? Is it safe?
- Subject: Re: nil messaging? Is it safe?
- From: Dave Camp <email@hidden>
- Date: Fri, 27 Sep 2002 10:02:00 -0700
Isn't the typical way to handle this to add asserts in your code to
detect this? That's what I do (at least in places where I should never
get a nil object back).
Dave
On Thursday, September 26, 2002, at 07:48 PM, Jonathan Wight wrote:
>
I have no problems with the current behaviour, sending messages to NULL
>
makes a lot of sense in most circumstances (esp. lazy releases). I'd
>
just
>
like to know when it's happening and I'm not expecting it.
>
---
It's not denial. I'm just very particular about the reality I choose to
accept. -Calvin
_______________________________________________
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.