Re: Xcode 4.1 GM exception raised in PDFkit
Re: Xcode 4.1 GM exception raised in PDFkit
- Subject: Re: Xcode 4.1 GM exception raised in PDFkit
- From: Martin Hewitson <email@hidden>
- Date: Tue, 02 Aug 2011 09:43:14 +0200
So the conclusion seems to be that this is a bug and as such, I will file a radar.
Martin
On Aug 2, 2011, at 02:11 AM, Scott Ribe wrote:
> On Aug 1, 2011, at 5:30 PM, Glenn L. Austin wrote:
>
>> Don't use C++ exceptions for normal flow control, only for cases where there is *no* other means of handling the error (ex: the directory you've been told to iterate has been deleted).
>
> In reflecting on my prior post, there is a distinction between Cocoa use of exceptions and what is generally considered good practice with C++. Cocoa says only throw exceptions in case of programmer error; C++ advice generally says only throw an exception in truly unexpected circumstances. So the C++ accepted practice is actually looser, but it in no way implies using exceptions for normal flow control.
>
> And you brought up another point: the cost of throwing exceptions with "zero-cost exceptions"--The minority of C++ apps/libs that had ignored good design advice and used exceptions for normal flow control were pretty much forced to change by this. The only other options involved incompatibility with the rest of the world of libs...
>
> --
> Scott Ribe
> email@hidden
> http://www.elevated-dev.com/
> (303) 722-0567 voice
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden