ctrl+c and destructors
Walter Bright
newshound2 at digitalmars.com
Thu Oct 3 13:53:58 PDT 2013
On 10/3/2013 1:02 AM, Max Samukha wrote:
> That famous prejudice of yours :).
Not just me, and I didn't invent it. It's a "prejudice" used by experienced
engineers who build things that, if they fail, kill people. That prejudice is
relearned, over and over, by bitter experience.
> As always, it depends. The application can't
> "recover" but it can give the user an opportunity to (partially) recover his
> work. For example, I appreciated the fact that Cubase/Nuendo often continued
> execution after a poorly debugged in-process plugin segfaulted. I do not know
> exactly what cleanup procedure the application executed on the inconsistent
> state but most of the time I was able to recover it completely.
You've got a badly designed program if it relies on that to recover user data.
More information about the Digitalmars-d
mailing list