Walter Bright <[email protected]> wrote:
> On 9/26/2014 8:21 AM, Manu via Digitalmars-d wrote:
>> I've never used an exception before. I can't imagine a reason I would
>> ever want to.
> 
> Nothrow is your friend, then!
> 
> 
> BTW, you need exceptions if there appears in your code things like:
> 
>     if (errorHappened) goto LcleanupCode;

No you need destructors/RAII/finally. And all those work equally with
without exceptions (early return).

Tobi

Reply via email to