Posted Mar 27, 2008 22:15 UTC (Thu) by pphaneuf
In reply to: Imaginary losses
Parent article: Striking gold in binutils
My theory is that you do something about it where you can. If you can't think of something useful to work around the problem, then just let it bubble up, maybe someone who knows better will take care of it, and if not, it'll be the same as an assert.
That's clearly sensible in a lot of cases, because otherwise there would be no such thing as error statuses, they'd just all "handle the errors".
I also quite prefer the default failure mode of a programmer failing to handle an error to be a loud BANG than silently going forward...
to post comments)