Re: GC pros and cons
Re: GC pros and cons
- Subject: Re: GC pros and cons
- From: James Gregurich <email@hidden>
- Date: Mon, 29 Jun 2009 00:38:20 -0700
you're right.
I do make the assumption that only sane exceptions are
thrown...meaning subclasses of NSException & std::exception. Certainly
any code that I control only throws proper exceptions. For C++
functions, I use exception specifiers. so, if any function throws the
wrong type of exception, it fails very early in the stack unwinding so
that I have a good idea of where the problem is.
On Jun 28, 2009, at 7:23 PM, Chris Idou wrote:
________________________________
From: James Gregurich <email@hidden>
3) I don't allow exceptions of any kind to propagate into alien
code....particularly the cocoa runtime.
Given that Objective-C doesn't have declared exceptions (like Java),
it seems more likely that you "hope" exceptions are not propagated
into alien code.
Unless that is you are in the unusual situation that you use no
third party libraries, or you have full and perfect knowledge of
where and when they might throw an exception.
Access Yahoo!7 Mail on your mobile. Anytime. Anywhere.
Show me how: http://au.mobile.yahoo.com/mail
_______________________________________________
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
_______________________________________________
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