So, here's another question. Has anyone found a good rule of thumb
for when to use exceptions in objective-c over just asserting
something, returning nil, or passing information out in an NSError
I follow Apple's (and NeXT's before) pattern of only using
NSExceptions to indicate programmer or other system failure states.
Though I would often rather use exceptions than the NSError (or other)
patterns, I find that making my APIs "impedance match" Apple's leads
to match less maintenance frustration over time.
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden