dereferencing null

Walter Bright newshound2 at digitalmars.com
Tue Mar 6 01:11:36 PST 2012


On 3/5/2012 12:05 PM, Nick Sabalausky wrote:
> "Walter Bright"<newshound2 at digitalmars.com>  wrote in message
> news:jiunst$qrm$1 at digitalmars.com...
>>
>> 3. Intercepting and recovering from seg faults, div by 0, etc., all sounds
>> great on paper. In practice, it is almost always wrong. The only exception
>> (!) to the rule is when sandboxing a plugin (as you suggested).
>>
>
> The purpose of catching exceptions is to respond to a condition. Recovery is
> merely *one* such type of response.


Right, but Sandeep and I were specifically talking about recovering.


More information about the Digitalmars-d mailing list