Exception/Error division in D

Sean Kelly sean at invisibleduck.org
Tue May 29 09:53:46 PDT 2012


On May 24, 2012, at 11:50 PM, Jacob Carlborg wrote:

> On 2012-05-24 21:33, Sean Kelly wrote:
> 
>> This is a good point.  OutOfMemory conditions aside, the only time I'd want to recover from an Error condition was at the point the event occurred, not somewhere up the stack.
> 
> You never feel you want to catch at the top level, print a sensible error message and then exit the application? Instead of the application just disappearing for user.

Well sure, but I wouldn't consider this recovery.


More information about the Digitalmars-d mailing list