Let it crash programming

Let it crash programming

Let it crash can be a good thing, especially if the alternative is empty catch blocks, or generally failing silently.  If you can provide an equally attention grabbing alternative to crashing, like logging an error that also sends a critical message/email/event that could work if you can gaurantee not leaving the app in an unknown state.

Crash early and crash often for more reliable software

The only error checking a program needs are for errors that can actually happen during normal control flow.

Here are more posts on the subject.

1 2 3 4 5

 

Leave a Reply