On 7/12/06, Bart Smaalders <[EMAIL PROTECTED]> wrote:
Mike Gerdts wrote:
>
> For more of a devil's advocate view, take a look at this research
> about "Failure Oblivious Computing" at http://lwn.net/Articles/188059/
> and http://www.usenix.org/events/osdi04/tech/rinard.html.
>
> Mike
>

A unexpected NULL pointer is an indication that something is seriously
wrong, somewhere, and the programmer's assumptions were incorrect.

I agree that this is exactly the case in enough situations that it
should be the default behavior, hence the "devil's advocate view"
statement.  I have a hard time convincing myself that I really want a
program to continue when it knows that it is in an unanticipated
condition.  Maybe it's OK for a game or a screensaver but probably not
for the payroll database or pacemaker.

Mike

--
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to